@songtonyli/dsh-cli 0.1.83 → 0.1.85
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 +6 -0
- package/node_modules/@deepseek-ai/cordis/lib/index.js +47 -21
- package/node_modules/@deepseek-ai/cordis/src/fiber.ts +50 -21
- package/node_modules/@deepseek-ai/cordis-plugin-loader/README.md +10 -0
- package/node_modules/@deepseek-ai/cordis-plugin-loader/lib/index.js +77 -9
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/entry.ts +5 -5
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/config/tree.ts +4 -1
- package/node_modules/@deepseek-ai/cordis-plugin-loader/src/resolve.ts +75 -0
- package/node_modules/@deepseek-ai/cordis-plugin-timer/README.md +6 -4
- package/node_modules/@deepseek-ai/cordis-plugin-timer/lib/index.js +19 -13
- package/node_modules/@deepseek-ai/cordis-plugin-timer/src/index.ts +22 -16
- package/node_modules/@deepseek-ai/dsh/lib/bin.js +3 -3
- package/node_modules/@deepseek-ai/dsh/lib/{dump-config-CWs_HdOc.js → dump-config-D97dwXdd.js} +1 -1
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-DuXZcU0e.js +2 -0
- package/node_modules/@deepseek-ai/dsh/lib/{dump-config-schema-D_PxIzpe.js → dump-config-schema-r4V15-lg.js} +2 -2
- package/node_modules/@deepseek-ai/dsh/lib/{plugin-BiveYA7h.js → plugin-DscIHF4k.js} +3 -2
- package/node_modules/@deepseek-ai/dsh/lib/{profile-boot-C14i-8IN.js → profile-boot-e2mS45fC.js} +2 -1
- package/node_modules/@deepseek-ai/dsh/lib/profile-boot.js +1 -1
- package/node_modules/@deepseek-ai/dsh/package.json +124 -118
- package/node_modules/@deepseek-ai/dsh-acp/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-acp/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-acp/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-acp/lib/index.js +40 -114
- package/node_modules/@deepseek-ai/dsh-acp/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp/package.json +25 -23
- package/node_modules/@deepseek-ai/dsh-acp-app/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp-app/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp-app/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp-app/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp-app/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp-app/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp-app/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp-app/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-acp-app/package.json +5 -3
- package/node_modules/@deepseek-ai/dsh-action-cards/README.i18n.yaml +67 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/README.md +137 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/README.zh.md +137 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/index.js +625 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.host.js +869 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/typert.remote-client.js +137 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/types/index.js +398 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/types/projection.js +122 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-action-cards/package.json +73 -0
- package/node_modules/@deepseek-ai/dsh-agent/README.i18n.yaml +39 -21
- package/node_modules/@deepseek-ai/dsh-agent/README.md +42 -11
- package/node_modules/@deepseek-ai/dsh-agent/README.zh.md +41 -10
- package/node_modules/@deepseek-ai/dsh-agent/lib/index.js +220 -91
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/index.js +15 -1
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/model-selection.js +102 -58
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/projection.js +52 -1
- package/node_modules/@deepseek-ai/dsh-agent/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent/package.json +22 -18
- package/node_modules/@deepseek-ai/dsh-agent-default-model/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-agent-default-model/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-default-model/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-default-model/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-default-model/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-default-model/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-default-model/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-default-model/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-default-model/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-default-model/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-agent-instructions/README.i18n.yaml +16 -16
- package/node_modules/@deepseek-ai/dsh-agent-instructions/README.md +13 -10
- package/node_modules/@deepseek-ai/dsh-agent-instructions/README.zh.md +13 -10
- package/node_modules/@deepseek-ai/dsh-agent-instructions/lib/index.js +93 -19
- package/node_modules/@deepseek-ai/dsh-agent-instructions/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-instructions/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-instructions/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-instructions/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-instructions/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-instructions/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +24 -24
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.i18n.yaml +18 -18
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.md +16 -16
- package/node_modules/@deepseek-ai/dsh-agent-loop/README.zh.md +16 -16
- package/node_modules/@deepseek-ai/dsh-agent-loop/lib/index.js +258 -505
- package/node_modules/@deepseek-ai/dsh-agent-loop/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-loop/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-loop/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-loop/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-loop/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-loop/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-loop/package.json +24 -22
- package/node_modules/@deepseek-ai/dsh-agent-preset/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-composition-reference/references/packages.md +22 -7
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/SKILL.md +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/references/host-plugin.md +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/decoration/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset/skills/cordis-plugin-development/templates/mcp/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/index.js +22 -6
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.host.js +19 -8
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/typert.remote-client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/index.js +18 -5
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/package.json +31 -26
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.i18n.yaml +18 -18
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.md +10 -8
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/README.zh.md +10 -8
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/lib/index.js +13 -28
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-agent-tool-presentation/package.json +11 -9
- package/node_modules/@deepseek-ai/dsh-anonymous-user-id/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-api-account-controller/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-account-controller/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-api-authorization-controller/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.md +4 -3
- package/node_modules/@deepseek-ai/dsh-api-gateway/README.zh.md +4 -3
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/index.js +53 -32
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/access.js +32 -23
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/index.js +6 -1
- package/node_modules/@deepseek-ai/dsh-api-gateway/lib/types/stream-server.js +28 -14
- package/node_modules/@deepseek-ai/dsh-api-gateway/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-gateway/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-api-job-controller/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-job-controller/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-api-remote-access/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-api-remote-access/README.md +4 -3
- package/node_modules/@deepseek-ai/dsh-api-remote-access/README.zh.md +4 -3
- package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/client.js +86 -3
- package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/index.js +5 -6
- package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/typert.host.js +3 -3
- package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/typert.remote-client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/types/client/index.js +5 -2
- package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/types/client/mount.js +8 -0
- package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/types/client/when-allowed.js +74 -0
- package/node_modules/@deepseek-ai/dsh-api-remote-access/lib/types/index.js +6 -7
- package/node_modules/@deepseek-ai/dsh-api-remote-access/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remote-access/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remote-access/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remote-access/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remote-access/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remote-access/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remote-access/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remote-access/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remote-access/package.json +9 -7
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/client.js +1873 -4059
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/index.js +4 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/lib/types/remote-events.js +1 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-remotes/package.json +43 -43
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.md +9 -5
- package/node_modules/@deepseek-ai/dsh-api-session-controller/README.zh.md +9 -5
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +3 -3
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/index.js +166 -308
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.host.js +457 -268
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/typert.remote-client.js +390 -238
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/agent.js +33 -149
- 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 +1 -2
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/commands.js +38 -36
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/index.js +45 -44
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/list.js +29 -18
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/media-references.js +24 -16
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/types.js +1 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-session-controller/package.json +72 -72
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-settings-controller/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/lib/typert.host.js +9 -5
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-terminal-controller/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-controller/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-api-workspace-files/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-app-boot/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-app-boot/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-app-boot/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +14 -100
- package/node_modules/@deepseek-ai/dsh-app-boot/lib/worker/profile-resolution-bootstrap.js +5 -5
- package/node_modules/@deepseek-ai/dsh-app-boot/package.json +9 -8
- package/node_modules/@deepseek-ai/dsh-atomic-write/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-attachment/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-attachment/lib/index.js +31 -16
- package/node_modules/@deepseek-ai/dsh-attachment/lib/types/index.js +36 -17
- package/node_modules/@deepseek-ai/dsh-attachment/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment-local/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-attachment-local/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment-local/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-attachment-local/lib/index.js +9 -5
- package/node_modules/@deepseek-ai/dsh-attachment-local/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-attachment-local/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-attachment-local/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-attachment-local/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-attachment-local/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-attachment-local/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-attachment-local/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-authorization/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-authorization/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-authorization/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-authorization/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-authorization/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-authorization/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-authorization/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-base/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-base/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-base/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-base/cordis.patch.yml +10 -8
- package/node_modules/@deepseek-ai/dsh-base/package.json +98 -96
- package/node_modules/@deepseek-ai/dsh-bash-local/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-local/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-local/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-local/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-local/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-local/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-local/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-local/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-local/package.json +10 -8
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-bash-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-brand/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-chunked-list/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-connection/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-connection/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-connection/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-connection/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-connection/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-connection/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-connection/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-file-upload/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-file-upload/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-file-upload/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/client.js +69 -20
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/index.js +104 -25
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.host.js +28 -9
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/typert.remote-client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/types/client/runtime.js +72 -23
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/types/http-route.js +12 -7
- package/node_modules/@deepseek-ai/dsh-client-file-upload/lib/types/index.js +87 -18
- package/node_modules/@deepseek-ai/dsh-client-file-upload/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-file-upload/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-file-upload/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-file-upload/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-file-upload/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-file-upload/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-file-upload/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-hmr/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-hmr/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-hmr/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-hmr/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-hmr/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-hmr/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-hmr/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-locale/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-client-locale/README.md +11 -9
- package/node_modules/@deepseek-ai/dsh-client-locale/README.zh.md +11 -9
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +321 -9
- package/node_modules/@deepseek-ai/dsh-client-locale/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-client-locale/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-locale/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-locale/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-locale/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-locale/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-locale/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-locale/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-modules/README.i18n.yaml +11 -8
- package/node_modules/@deepseek-ai/dsh-client-modules/README.md +9 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/README.zh.md +9 -1
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/client.js +6 -2
- package/node_modules/@deepseek-ai/dsh-client-modules/lib/index.js +151 -56
- package/node_modules/@deepseek-ai/dsh-client-modules/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-modules/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-modules/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-modules/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-modules/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-modules/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-modules/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.i18n.yaml +5 -2
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.md +8 -0
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/README.zh.md +8 -0
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.host.js +67 -3
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/lib/typert.remote-client.js +50 -2
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-product-analytics/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-resources/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-resources/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-resources/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-resources/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-resources/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-resources/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-resources/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-shortcuts/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/README.i18n.yaml +40 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/README.md +89 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/README.zh.md +89 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/lib/client.js +896 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-action-cards/package.json +68 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/README.zh.md +6 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +649 -24
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/package.json +15 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +176 -56
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-approval/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.md +8 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/README.zh.md +8 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +1497 -39
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-attachment/package.json +12 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-brand-official/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.i18n.yaml +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.md +16 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/README.zh.md +16 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/assets/running-whale@2x-06738fa29b2f.png +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +2180 -217
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-chat/package.json +41 -35
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +200 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-commands/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.md +18 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/README.zh.md +18 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +3211 -192
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-conversation/package.json +31 -30
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +334 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-cordis/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.i18n.yaml +40 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.md +88 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/README.zh.md +88 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/lib/client.js +896 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-creation-recommendations/package.json +60 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/lib/client.js +19 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deepseek-model-label-1017/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.i18n.yaml +18 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.md +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/README.zh.md +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +400 -16
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/index.js +4 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +25 -25
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +123 -30
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/lib/client.js +12 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-native/package.json +4 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.i18n.yaml +34 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.md +83 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/README.zh.md +83 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/lib/client.js +221 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/lib/index.js +5 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-entry-customization/package.json +64 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/README.i18n.yaml +34 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/README.md +67 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/README.zh.md +67 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/lib/client.js +1724 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-file-drag/package.json +55 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +98 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-goal/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +80 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +266 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-jobs/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +19 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-layout/package.json +7 -7
- 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 +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +156 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +168 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-model-selection/package.json +14 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +122 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/package.json +16 -16
- 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 +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +229 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +129 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plan/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.i18n.yaml +17 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.md +24 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/README.zh.md +24 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +3746 -522
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/package.json +15 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.md +12 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/README.zh.md +12 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/lib/client.js +2163 -1433
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-market/package.json +12 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/README.md +82 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/README.zh.md +81 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/lib/client.js +775 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-plugin-recommendations/package.json +65 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/lib/client.js +115 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-reference/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-renderer/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/README.zh.md +11 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +2081 -399
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-schedule/package.json +18 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/lib/client.js +38 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-secret-mask/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-session/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-session/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-session/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-session/lib/client.js +16 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-session/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-session/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-session/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-session/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-session/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-session/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-session/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-back-04427ce3e26c.svg +3 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-code-130f4f9f819c.svg +7 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-compact-4d29ad212f3b.svg +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-detailed-0e44397e280d.svg +7 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-office-8ca45c77307a.svg +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-recharge-9a85d64a2d3b.webp +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-recharge-dark-9878e7197bac.webp +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-recharge-zh-aec6cd5fc265.webp +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-recharge-zh-dark-5289932ad3f8.webp +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-standard-13b8aa0232ab.svg +8 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-welcome-8bee260fc9a4.webp +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-welcome-dark-1bdaf68d0d0a.webp +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-welcome-zh-9a237747664d.webp +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/assets/onboarding-welcome-zh-dark-6c914dc6013e.webp +0 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +721 -75
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-account/package.json +16 -13
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/lib/client.js +98 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-agent-loop/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.md +13 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/README.zh.md +13 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +340 -43
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-general/package.json +14 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/README.zh.md +5 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +1089 -127
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-models/package.json +8 -8
- 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 +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +248 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +56 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/lib/client.js +49 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-session-log/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/lib/client.js +109 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-shell/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-signin/package.json +5 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/client.js +236 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/lib/client.js +188 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-settings-web-search/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/lib/client.js +362 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.i18n.yaml +13 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.md +15 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/README.zh.md +15 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +248 -26
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +182 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/README.zh.md +5 -3
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.excel.js +2 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +953 -250
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/package.json +19 -17
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +128 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +400 -23
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +193 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +74 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-skill/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +282 -7
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-subagent/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.md +8 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/README.zh.md +8 -1
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +297 -8
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-theme/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-tool/package.json +27 -25
- 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 +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +1194 -49
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-trajectory/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +539 -196
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-user-questions/package.json +20 -18
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +134 -2
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.i18n.yaml +20 -20
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.md +27 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/README.zh.md +27 -12
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +1015 -267
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-cmdline/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-command-compact/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-compact/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-compact/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-compact/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-compact/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-compact/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-compact/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-command-feedback/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-feedback/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-feedback/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-feedback/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-feedback/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-feedback/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-feedback/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-command-goal/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-goal/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-goal/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-goal/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-goal/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-goal/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-command-goal/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-commands/lib/typert.host.js +9 -5
- package/node_modules/@deepseek-ai/dsh-commands/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-commands/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-commands/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-commands/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-commands/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-commands/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-commands/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-compaction/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.i18n.yaml +11 -8
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.md +15 -4
- package/node_modules/@deepseek-ai/dsh-compaction-basic/README.zh.md +15 -4
- package/node_modules/@deepseek-ai/dsh-compaction-basic/lib/index.js +45 -28
- package/node_modules/@deepseek-ai/dsh-compaction-basic/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-basic/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-basic/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-basic/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-basic/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-basic/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-basic/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-image-offload/package.json +16 -16
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-compaction-tool-result-pruner/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-computer-use/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/README.md +90 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/README.zh.md +90 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/lib/index.js +35 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/brand.js +10 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/lib/types/index.js +36 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-computer-use/package.json +44 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/lib/index.js +2 -3
- package/node_modules/@deepseek-ai/dsh-config-editor/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-config-editor/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.md +2 -1
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/README.zh.md +2 -1
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/lib/client.js +500 -270
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cordis-client-runner/package.json +7 -6
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/typert.host.js +18 -10
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/lib/types/guard.js +1 -1
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cordis-host-runner/package.json +19 -18
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.i18n.yaml +49 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.md +128 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/README.zh.md +128 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/icon.svg +9 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/index.js +620 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/types/generated-bundle.js +97 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/types/index.js +361 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/types/skill.js +35 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/package.json +71 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/references/main-page.md +7 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/references/session-tab.md +7 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/references/sidebar-entry.md +7 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/references/sidebar-right.md +9 -0
- package/node_modules/@deepseek-ai/dsh-creation-recommendations/skills/personalized-pages.md +64 -0
- package/node_modules/@deepseek-ai/dsh-credentials/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-credentials-local/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-credentials-local/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-credentials-local/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-credentials-local/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-credentials-local/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-credentials-local/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-credentials-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-cua/README.i18n.yaml +49 -0
- package/node_modules/@deepseek-ai/dsh-cua/README.md +121 -0
- package/node_modules/@deepseek-ai/dsh-cua/README.zh.md +121 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/api.js +597 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/bridge.js +611 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/client.js +1778 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/index.js +1720 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/native-client.js +285 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/protocol.js +305 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/remote-types.js +1 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/typert.host.js +417 -0
- package/node_modules/@deepseek-ai/dsh-cua/lib/typert.remote-client.js +302 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-cua/package.json +148 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/README.i18n.yaml +46 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/README.md +94 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/README.zh.md +94 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/cordis.patch.yml +10 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.md +1 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/DETAIL.zh.md +1 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.svg +33 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/docs/preview.zh.svg +33 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/icon.svg +35 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/en.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/locale/zh.json +7 -0
- package/node_modules/@deepseek-ai/dsh-cua-bundle/package.json +54 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-account-platform/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deepseek-llm-api-extensions/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/README.i18n.yaml +49 -0
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/README.md +95 -0
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/README.zh.md +95 -0
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/lib/index.js +20 -0
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-deliverable-file-references/package.json +39 -0
- package/node_modules/@deepseek-ai/dsh-deque/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/index.js +12 -14
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/index.js +6 -12
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/journal.js +6 -4
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/package.json +19 -19
- 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 +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/cordis.patch.yml +0 -3
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.md +18 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/DETAIL.zh.md +18 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/preview.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/docs/preview.zh.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/en.json +3 -2
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/locale/zh.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team-profile/package.json +5 -4
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-api-speech-to-text/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.i18n.yaml +17 -14
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.md +28 -8
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/README.zh.md +28 -8
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/docs/DETAIL.md +17 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/docs/DETAIL.zh.md +17 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/docs/preview.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/docs/preview.zh.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/lib/index.js +202 -90
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/en.json +3 -2
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/locale/zh.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-auto-review/package.json +42 -39
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/README.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/README.zh.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/docs/DETAIL.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/docs/DETAIL.zh.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/docs/preview.svg +22 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/docs/preview.zh.svg +22 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/en.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/locale/zh.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-badge-skill-bundle/package.json +3 -2
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +179 -5
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/package.json +11 -10
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/lib/client.js +222 -6
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-cot-translation/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +745 -13
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/docs/DETAIL.md +18 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/docs/DETAIL.zh.md +18 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/docs/preview.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/docs/preview.zh.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/en.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/locale/zh.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-cot-translation-bundle/package.json +4 -3
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/client.page.js +61 -7
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/lib/index.js +5 -4
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/docs/DETAIL.md +16 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/docs/DETAIL.zh.md +16 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/docs/preview.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/docs/preview.zh.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/en.json +3 -2
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/locale/zh.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-inspector-profile/package.json +4 -3
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/cordis.patch.yml +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/docs/DETAIL.md +18 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/docs/DETAIL.zh.md +18 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/docs/preview.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/docs/preview.zh.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/en.json +3 -2
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/locale/zh.json +3 -2
- package/node_modules/@deepseek-ai/dsh-experimental-plugin-market-bundle/package.json +5 -4
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/docs/DETAIL.md +17 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/docs/DETAIL.zh.md +17 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/docs/preview.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/docs/preview.zh.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/en.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/locale/zh.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-ralph-bundle/package.json +6 -4
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.i18n.yaml +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/README.md +11 -11
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/lib/client.js +352 -16
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-inspector/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/README.i18n.yaml +5 -5
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/docs/DETAIL.md +17 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/docs/DETAIL.zh.md +17 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/docs/preview.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/docs/preview.zh.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/en.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/locale/zh.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-search/package.json +7 -5
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/docs/DETAIL.md +11 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/docs/DETAIL.zh.md +11 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/docs/preview.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/docs/preview.zh.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/en.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/locale/zh.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-session-titles-bundle/package.json +3 -2
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-speech-to-text-sensevoice/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/docs/DETAIL.md +17 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/docs/DETAIL.zh.md +17 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/docs/preview.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/docs/preview.zh.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/en.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/locale/zh.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-terminal-bundle/package.json +5 -4
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.i18n.yaml +14 -14
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.md +7 -7
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/README.zh.md +7 -7
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/lib/index.js +28 -4
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/en.json +1 -1
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-agent-team/package.json +22 -22
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/docs/DETAIL.md +16 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/docs/DETAIL.zh.md +16 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/docs/preview.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/docs/preview.zh.svg +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/en.json +3 -2
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/locale/zh.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-tool-worktree/package.json +20 -18
- package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-translator/lib/types/deepseek.js +2 -2
- package/node_modules/@deepseek-ai/dsh-experimental-translator/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-translator/package.json +26 -24
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/docs/DETAIL.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/docs/DETAIL.zh.md +1 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/docs/preview.svg +46 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/docs/preview.zh.svg +46 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/en.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/locale/zh.json +2 -1
- package/node_modules/@deepseek-ai/dsh-experimental-voice-input-bundle/package.json +6 -5
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-experimental-worktree/package.json +23 -21
- package/node_modules/@deepseek-ai/dsh-file-reference/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-file-reference-local/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-file-reference-local/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-file-reference-local/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-file-reference-local/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-file-reference-local/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-file-reference-local/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-file-reference-local/package.json +14 -13
- package/node_modules/@deepseek-ai/dsh-fs/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-fs-local/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-fs-local/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-local/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-fs-local/lib/index.js +15 -2
- package/node_modules/@deepseek-ai/dsh-fs-local/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-local/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-local/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-local/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-local/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-local/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-local/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-local/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-local/package.json +6 -4
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-observation-policy/package.json +4 -4
- 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/lib/index.js +3 -3
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-fs-sandbox/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-goal/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-goal/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-goal/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-goal/lib/index.js +8 -6
- package/node_modules/@deepseek-ai/dsh-goal/lib/typert.host.js +16 -12
- package/node_modules/@deepseek-ai/dsh-goal/lib/typert.remote-client.js +7 -7
- package/node_modules/@deepseek-ai/dsh-goal/lib/types/index.js +8 -8
- package/node_modules/@deepseek-ai/dsh-goal/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-goal/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-goal/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-goal/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-goal/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-goal/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-goal/package.json +20 -20
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-goal-round-driver/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/lib/index.js +4 -3
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-harness-dev-context/package.json +13 -11
- package/node_modules/@deepseek-ai/dsh-headless/README.i18n.yaml +20 -14
- package/node_modules/@deepseek-ai/dsh-headless/README.md +35 -7
- package/node_modules/@deepseek-ai/dsh-headless/README.zh.md +35 -7
- package/node_modules/@deepseek-ai/dsh-headless/cordis.patch.yml +10 -7
- package/node_modules/@deepseek-ai/dsh-headless/lib/index.js +36 -15
- package/node_modules/@deepseek-ai/dsh-headless/lib/{json-stream-BA-F3lfb.js → json-stream-Dc3g2Bl1.js} +8 -4
- package/node_modules/@deepseek-ai/dsh-headless/lib/startup.js +16 -7
- package/node_modules/@deepseek-ai/dsh-headless/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-headless/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-headless/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-headless/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-headless/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-headless/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-headless/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-headless/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-headless/package.json +33 -19
- package/node_modules/@deepseek-ai/dsh-hmr/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-hmr/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-hmr/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-hmr/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-hmr/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-hmr/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-hmr/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-hmr/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-home-paths/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-auto/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-browse/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-directory-picker-native/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/lib/index.js +83 -47
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-frontend-static/package.json +8 -6
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-open-in-app/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.host.js +2 -2
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/lib/typert.remote-client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-plugin-inventory/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-product-telemetry-otel/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.md +8 -6
- package/node_modules/@deepseek-ai/dsh-host-webserver/README.zh.md +8 -6
- package/node_modules/@deepseek-ai/dsh-host-webserver/lib/index.js +157 -32
- package/node_modules/@deepseek-ai/dsh-host-webserver/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-webserver/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-webserver/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-webserver/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-webserver/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-webserver/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-host-webserver/package.json +3 -2
- package/node_modules/@deepseek-ai/dsh-http-proxy/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-http-proxy/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-http-proxy/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-http-proxy/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-jobs/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-jobs-local/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-jobs-local/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-jobs-local/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-jobs-local/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-jobs-local/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-jobs-local/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-jobs-local/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-launch-environment/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-lazy-require/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/lib/typert.host.js +1 -1
- package/node_modules/@deepseek-ai/dsh-llm/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-llm-cursor/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.md +3 -3
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/README.zh.md +3 -3
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +437 -20
- package/node_modules/@deepseek-ai/dsh-llm-deepseek/package.json +41 -38
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/lib/index.js +15 -385
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-account/package.json +13 -17
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.i18n.yaml +16 -16
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.md +27 -8
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/README.zh.md +27 -8
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/lib/index.js +103 -13
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-deepseek-api-key/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.md +9 -8
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/README.zh.md +9 -8
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/lib/index.js +34 -17
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-pi-ai/package.json +25 -23
- package/node_modules/@deepseek-ai/dsh-llm-retry/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-llm-retry/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-llm-retry/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-llm-retry/lib/index.js +15 -5
- package/node_modules/@deepseek-ai/dsh-llm-retry/lib/types/index.js +16 -7
- package/node_modules/@deepseek-ai/dsh-llm-retry/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-retry/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-retry/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-retry/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-retry/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-retry/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-llm-retry/package.json +20 -19
- package/node_modules/@deepseek-ai/dsh-mcp-client/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-client/package.json +23 -20
- package/node_modules/@deepseek-ai/dsh-mcp-resources/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-resources/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-resources/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-resources/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-resources/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-resources/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-mcp-resources/package.json +14 -12
- package/node_modules/@deepseek-ai/dsh-message-feedback/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-feedback/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-feedback/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-feedback/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-feedback/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-feedback/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-feedback/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-message-quotes/README.i18n.yaml +46 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/README.md +83 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/README.zh.md +83 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/lib/client.js +200 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/lib/index.js +6 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-message-quotes/package.json +61 -0
- package/node_modules/@deepseek-ai/dsh-native-command/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-no-progress-reminder/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-office-to-pdf/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-official-bundles/README.i18n.yaml +46 -0
- package/node_modules/@deepseek-ai/dsh-official-bundles/README.md +92 -0
- package/node_modules/@deepseek-ai/dsh-official-bundles/README.zh.md +92 -0
- package/node_modules/@deepseek-ai/dsh-official-bundles/lib/index.js +206 -0
- package/node_modules/@deepseek-ai/dsh-official-bundles/package.json +38 -0
- package/node_modules/@deepseek-ai/dsh-otel/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-otel/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-otel/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-otel/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-otel/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-otel/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-otel/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-output-retention/package.json +1 -1
- 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 +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-permission-presets/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-permission-presets/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/index.js +16 -10
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.host.js +4 -4
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/typert.remote-client.js +1 -1
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/types/index.js +19 -13
- package/node_modules/@deepseek-ai/dsh-permission-presets/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-permission-presets/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-permission-presets/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-permission-presets/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-permission-presets/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-permission-presets/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-permission-presets/package.json +20 -18
- package/node_modules/@deepseek-ai/dsh-persona/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-persona/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-persona/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-persona/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-persona/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-persona/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-persona/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/README.i18n.yaml +37 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/README.md +88 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/README.zh.md +88 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/cordis.patch.yml +13 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/docs/DETAIL.md +1 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/docs/DETAIL.zh.md +1 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/docs/preview.svg +36 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/docs/preview.zh.svg +35 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/icon.svg +5 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/lib/index.js +1 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/locale/de.json +7 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/locale/en.json +7 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/locale/es.json +7 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/locale/fr.json +7 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/locale/ja.json +7 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/locale/pt.json +7 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/locale/ru.json +7 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/locale/zh.json +7 -0
- package/node_modules/@deepseek-ai/dsh-personalized-recommendations/package.json +70 -0
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.md +8 -6
- package/node_modules/@deepseek-ai/dsh-plan-mode/README.zh.md +8 -6
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/index.js +39 -32
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/types/index.js +39 -36
- package/node_modules/@deepseek-ai/dsh-plan-mode/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plan-mode/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plan-mode/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plan-mode/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plan-mode/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plan-mode/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plan-mode/package.json +22 -20
- package/node_modules/@deepseek-ai/dsh-plugin-detail/README.i18n.yaml +46 -0
- package/node_modules/@deepseek-ai/dsh-plugin-detail/README.md +101 -0
- package/node_modules/@deepseek-ai/dsh-plugin-detail/README.zh.md +101 -0
- package/node_modules/@deepseek-ai/dsh-plugin-detail/lib/index.js +420 -0
- package/node_modules/@deepseek-ai/dsh-plugin-detail/lib/types/document.js +130 -0
- package/node_modules/@deepseek-ai/dsh-plugin-detail/lib/types/files.js +242 -0
- package/node_modules/@deepseek-ai/dsh-plugin-detail/lib/types/index.js +9 -0
- package/node_modules/@deepseek-ai/dsh-plugin-detail/lib/types/response.js +28 -0
- package/node_modules/@deepseek-ai/dsh-plugin-detail/lib/types/types.js +3 -0
- package/node_modules/@deepseek-ai/dsh-plugin-detail/package.json +40 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.i18n.yaml +9 -6
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.md +33 -4
- package/node_modules/@deepseek-ai/dsh-plugin-manager/README.zh.md +33 -4
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/index.js +778 -95
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.host.js +458 -23
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/typert.remote-client.js +382 -21
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/build-approval.js +23 -10
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/bundle-detail.js +85 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/git-transport.js +65 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/index.js +381 -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/operations.js +4 -3
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/tools.js +4 -1
- package/node_modules/@deepseek-ai/dsh-plugin-manager/lib/types/versions.js +61 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/tools/de.json +5 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/tools/es.json +5 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/tools/fr.json +5 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/tools/ja.json +5 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/tools/pt.json +5 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/locale/tools/ru.json +5 -0
- package/node_modules/@deepseek-ai/dsh-plugin-manager/package.json +36 -27
- package/node_modules/@deepseek-ai/dsh-plugin-market/README.i18n.yaml +13 -10
- package/node_modules/@deepseek-ai/dsh-plugin-market/README.md +34 -6
- package/node_modules/@deepseek-ai/dsh-plugin-market/README.zh.md +35 -6
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/index.js +842 -2
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/typert.host.js +166 -3
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/typert.remote-client.js +139 -3
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/detail-files.js +58 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/detail.js +190 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/index.js +139 -1
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/repository-cache.js +358 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/lib/types/tools.js +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-market/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-market/package.json +30 -18
- package/node_modules/@deepseek-ai/dsh-plugin-market-index/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-package-inventory-deepseek/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.i18n.yaml +49 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.md +101 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/README.zh.md +101 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/icon.svg +9 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/index.js +287 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/typert.host.js +777 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/typert.remote-client.js +90 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/types/index.js +194 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/types/skill.js +41 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/lib/types/types.js +2 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/package.json +75 -0
- package/node_modules/@deepseek-ai/dsh-plugin-recommendations/skills/official-plugins.md +23 -0
- package/node_modules/@deepseek-ai/dsh-ptc-runtime/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.i18n.yaml +14 -14
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.md +10 -6
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/README.zh.md +10 -6
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/index.js +404 -514
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/persistent-process.js +328 -246
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/lib/process.js +343 -277
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-ptc-runtime-node/package.json +22 -21
- package/node_modules/@deepseek-ai/dsh-pwsh-local/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-local/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-local/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-local/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-local/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-local/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-local/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-local/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-local/package.json +10 -8
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-pwsh-sandbox/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-repeat-tool-reminder/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sandbox/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-sandbox/README.md +4 -4
- package/node_modules/@deepseek-ai/dsh-sandbox/README.zh.md +4 -4
- package/node_modules/@deepseek-ai/dsh-sandbox/lib/index.js +94 -13
- package/node_modules/@deepseek-ai/dsh-sandbox/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/lib/exec-shim.js +49 -45
- package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/lib/index.js +13 -8
- package/node_modules/@deepseek-ai/dsh-sandbox-apple-container/package.json +23 -23
- package/node_modules/@deepseek-ai/dsh-sandbox-local/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-sandbox-local/README.md +4 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-local/README.zh.md +4 -1
- package/node_modules/@deepseek-ai/dsh-sandbox-local/lib/index.js +9 -6
- package/node_modules/@deepseek-ai/dsh-sandbox-local/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-local/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-local/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-local/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-local/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-local/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-local/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/README.i18n.yaml +11 -8
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/README.md +12 -3
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/README.zh.md +12 -3
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/lib/index.js +35 -9
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sandbox-policy/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-schedule/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-schedule/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-schedule/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-schedule/lib/index.js +191 -141
- package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.host.js +56 -5
- package/node_modules/@deepseek-ai/dsh-schedule/lib/typert.remote-client.js +24 -5
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/domain.js +118 -148
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/index.js +82 -29
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/runtime.js +7 -6
- package/node_modules/@deepseek-ai/dsh-schedule/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-schedule/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-schedule/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-schedule/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-schedule/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-schedule/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-schedule/package.json +33 -30
- package/node_modules/@deepseek-ai/dsh-scope/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.md +9 -3
- package/node_modules/@deepseek-ai/dsh-sdk-app/README.zh.md +9 -3
- package/node_modules/@deepseek-ai/dsh-sdk-app/cordis.patch.yml +33 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-app/package.json +17 -5
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.i18n.yaml +11 -8
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.md +14 -4
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/README.zh.md +14 -4
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/lib/index.js +150 -2
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-sdk-jsonrpc-server/package.json +31 -23
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/cordis.patch.yml +7 -0
- package/node_modules/@deepseek-ai/dsh-sdk-minimal/package.json +36 -34
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.i18n.yaml +9 -6
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.md +15 -3
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/README.zh.md +15 -3
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/lib/index.js +8 -2
- package/node_modules/@deepseek-ai/dsh-sdk-protocol/package.json +11 -9
- package/node_modules/@deepseek-ai/dsh-session/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-session/README.md +4 -2
- package/node_modules/@deepseek-ai/dsh-session/README.zh.md +4 -2
- package/node_modules/@deepseek-ai/dsh-session/lib/index.js +49 -31
- package/node_modules/@deepseek-ai/dsh-session/lib/types/index.js +59 -37
- package/node_modules/@deepseek-ai/dsh-session/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session/package.json +8 -8
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-checkpoint-policy/package.json +16 -15
- package/node_modules/@deepseek-ai/dsh-session-format/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-catalog/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/lib/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-session-format-v0-to-v1/package.json +5 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v1-to-v2/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-session-format-v2-to-v3/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-session-format-v3-to-v4/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/package.json +13 -13
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.i18n.yaml +39 -30
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.md +44 -12
- package/node_modules/@deepseek-ai/dsh-session-log-export/README.zh.md +44 -12
- package/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +359 -21
- package/node_modules/@deepseek-ai/dsh-session-log-export/lib/index.js +339 -5
- package/node_modules/@deepseek-ai/dsh-session-log-export/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-log-export/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-log-export/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-log-export/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-log-export/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-log-export/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-log-export/package.json +22 -19
- package/node_modules/@deepseek-ai/dsh-session-persistence/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-session-persistence/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence/package.json +9 -9
- 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 +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/index.js +12 -4
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/worker.cjs +105 -34
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-projection/README.i18n.yaml +16 -10
- package/node_modules/@deepseek-ai/dsh-session-projection/README.md +28 -6
- package/node_modules/@deepseek-ai/dsh-session-projection/README.zh.md +28 -6
- package/node_modules/@deepseek-ai/dsh-session-projection/lib/index.js +132 -43
- package/node_modules/@deepseek-ai/dsh-session-projection/lib/types/index.js +143 -42
- package/node_modules/@deepseek-ai/dsh-session-projection/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-projection/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-projection/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-projection/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-projection/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-projection/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-projection/package.json +4 -3
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-projection-cache/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-query/package.json +18 -18
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-query-sqlite/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-session-reference/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-session-reference/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-session-reference/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/index.js +12 -22
- package/node_modules/@deepseek-ai/dsh-session-reference/lib/typert.host.js +12 -8
- 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 +12 -21
- package/node_modules/@deepseek-ai/dsh-session-reference/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-reference/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-reference/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-reference/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-reference/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-reference/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-reference/package.json +36 -35
- package/node_modules/@deepseek-ai/dsh-session-stats/lib/index.js +5 -3
- package/node_modules/@deepseek-ai/dsh-session-stats/lib/types/index.js +3 -2
- package/node_modules/@deepseek-ai/dsh-session-stats/lib/types/projection.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session-stats/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-stats/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-stats/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-stats/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-stats/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-stats/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-stats/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-session-telemetry/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-telemetry-otel/package.json +21 -21
- package/node_modules/@deepseek-ai/dsh-session-title/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-session-title/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-session-title/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-session-title/lib/index.js +37 -26
- package/node_modules/@deepseek-ai/dsh-session-title/lib/types/index.js +37 -27
- package/node_modules/@deepseek-ai/dsh-session-title/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-all-prompts-llm/package.json +14 -12
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-title-first-prompt-llm/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-session-title-llm/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/lib/index.js +5 -3
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/lib/types/index.js +3 -2
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/lib/types/projection.js +1 -0
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-session-turn-outline/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-settings/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-settings/lib/types/index.js +2 -1
- package/node_modules/@deepseek-ai/dsh-settings/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-settings/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-settings/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-settings/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-settings/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-settings/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-settings/package.json +10 -10
- package/node_modules/@deepseek-ai/dsh-shell/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-shell-env/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-shell-env/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-shell-env/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-shell-env/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-shell-env/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-shell-env/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-shell-env/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-skill/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-skill-badge/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-badge/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-badge/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-badge/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-badge/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-badge/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-badge/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-filesystem/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-skill-office/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-skill-office/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/assets/office-docx/SKILL.md +2 -2
- package/node_modules/@deepseek-ai/dsh-skill-office/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-skill-office/package.json +7 -3
- package/node_modules/@deepseek-ai/dsh-spill/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-spill-local/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-spill-local/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-spill-local/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-spill-local/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-spill-local/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-spill-local/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-spill-local/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-spill-policy/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-spill-policy/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-spill-policy/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-spill-policy/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-spill-policy/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-spill-policy/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-spill-policy/package.json +32 -30
- package/node_modules/@deepseek-ai/dsh-storage/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-storage/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-storage/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-storage/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-storage-domain/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-storage-domain/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-storage-domain/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-storage-domain/lib/index.js +32 -4
- package/node_modules/@deepseek-ai/dsh-storage-domain/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage-domain/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage-domain/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage-domain/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage-domain/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage-domain/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage-domain/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-storage-json/README.i18n.yaml +6 -6
- package/node_modules/@deepseek-ai/dsh-storage-json/README.md +4 -3
- package/node_modules/@deepseek-ai/dsh-storage-json/README.zh.md +4 -3
- package/node_modules/@deepseek-ai/dsh-storage-json/lib/index.js +75 -3
- package/node_modules/@deepseek-ai/dsh-storage-json/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage-json/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage-json/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage-json/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage-json/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage-json/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-storage-json/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-subagent/README.i18n.yaml +8 -8
- package/node_modules/@deepseek-ai/dsh-subagent/README.md +5 -5
- package/node_modules/@deepseek-ai/dsh-subagent/README.zh.md +5 -5
- package/node_modules/@deepseek-ai/dsh-subagent/lib/index.js +35 -17
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.host.js +11 -7
- package/node_modules/@deepseek-ai/dsh-subagent/lib/typert.remote-client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/child-agent.js +11 -6
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-messages.js +8 -4
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/index.js +8 -6
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/manager.js +24 -3
- package/node_modules/@deepseek-ai/dsh-subagent/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent/package.json +46 -49
- package/node_modules/@deepseek-ai/dsh-subagent-acp/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-acp/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-acp/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-acp/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-acp/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-acp/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-acp/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-acp/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-acp/package.json +22 -20
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-fork-in-process/package.json +11 -11
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subagent-spawn-in-process/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-subprocess/package.json +4 -4
- package/node_modules/@deepseek-ai/dsh-subprocess-local/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subprocess-local/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subprocess-local/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subprocess-local/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subprocess-local/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subprocess-local/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-subprocess-local/package.json +7 -7
- package/node_modules/@deepseek-ai/dsh-system-prompt/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-system-prompt/README.md +6 -4
- package/node_modules/@deepseek-ai/dsh-system-prompt/README.zh.md +6 -4
- package/node_modules/@deepseek-ai/dsh-system-prompt/lib/index.js +22 -17
- package/node_modules/@deepseek-ai/dsh-system-prompt/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-system-prompt/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-system-prompt/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-system-prompt/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-system-prompt/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-system-prompt/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-system-prompt/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-terminal/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-terminal/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-terminal/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-terminal/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-terminal/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-terminal/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-terminal/package.json +6 -6
- package/node_modules/@deepseek-ai/dsh-terminal-bash/lib/index.js +3 -6
- package/node_modules/@deepseek-ai/dsh-terminal-bash/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-terminal-bash/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-terminal-bash/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-terminal-bash/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-terminal-bash/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-terminal-bash/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-terminal-bash/package.json +19 -19
- package/node_modules/@deepseek-ai/dsh-time-context/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-time-context/README.md +4 -1
- package/node_modules/@deepseek-ai/dsh-time-context/README.zh.md +4 -1
- package/node_modules/@deepseek-ai/dsh-time-context/lib/index.js +77 -40
- package/node_modules/@deepseek-ai/dsh-time-context/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-time-context/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-time-context/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-time-context/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-time-context/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-time-context/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-time-context/package.json +20 -18
- package/node_modules/@deepseek-ai/dsh-timeout/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-tmux-context/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tmux-context/README.md +2 -0
- package/node_modules/@deepseek-ai/dsh-tmux-context/README.zh.md +2 -0
- package/node_modules/@deepseek-ai/dsh-tmux-context/lib/index.js +15 -3
- package/node_modules/@deepseek-ai/dsh-tmux-context/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tmux-context/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tmux-context/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tmux-context/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tmux-context/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tmux-context/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tmux-context/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tmux-context/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tmux-context/package.json +13 -11
- package/node_modules/@deepseek-ai/dsh-token-meter/README.i18n.yaml +10 -10
- package/node_modules/@deepseek-ai/dsh-token-meter/README.md +7 -3
- package/node_modules/@deepseek-ai/dsh-token-meter/README.zh.md +7 -3
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/index.js +180 -77
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/index.js +84 -102
- package/node_modules/@deepseek-ai/dsh-token-meter/lib/types/measurement-projection.js +94 -0
- package/node_modules/@deepseek-ai/dsh-token-meter/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-token-meter/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-token-meter/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-token-meter/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-token-meter/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-token-meter/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-token-meter/package.json +14 -14
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-ask-user/package.json +10 -9
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-bash/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-bash/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-bash/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-bash/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-bash/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-bash/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-bash/package.json +34 -32
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.md +2 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/README.zh.md +2 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/lib/index.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-bash-persistent/package.json +22 -21
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-call-timeout-policy/package.json +8 -7
- package/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +591 -172
- package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/host/de.json +5 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/host/es.json +5 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/host/fr.json +5 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/host/ja.json +5 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/host/pt.json +5 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/host/ru.json +5 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-cordis/package.json +11 -10
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/README.i18n.yaml +46 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/README.md +94 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/README.zh.md +94 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/lib/index.js +31 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-native/package.json +39 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.i18n.yaml +52 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.md +133 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/README.zh.md +133 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/index.js +1772 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/client.js +2 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/config.js +7 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/errors.js +16 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/index.js +72 -0
- package/node_modules/@deepseek-ai/{dsh-tools → dsh-tool-executor-ptc}/lib/types/ptc-calls.js +4 -4
- package/node_modules/@deepseek-ai/{dsh-tools → dsh-tool-executor-ptc}/lib/types/ptc.js +90 -98
- package/node_modules/@deepseek-ai/{dsh-tools → dsh-tool-executor-ptc}/lib/types/py-types.js +9 -9
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/runtime-types.js +2 -0
- package/node_modules/@deepseek-ai/{dsh-tools → dsh-tool-executor-ptc}/lib/types/ts-types.js +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/lib/types/types.js +7 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-executor-ptc/package.json +73 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-fs/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs/package.json +33 -31
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-fs-search/package.json +28 -27
- package/node_modules/@deepseek-ai/dsh-tool-goal/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-goal/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-goal/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-goal/lib/index.js +3 -4
- package/node_modules/@deepseek-ai/dsh-tool-goal/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-goal/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-goal/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-goal/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-goal/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-goal/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-goal/package.json +17 -17
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.i18n.yaml +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.md +12 -8
- package/node_modules/@deepseek-ai/dsh-tool-jobs/README.zh.md +12 -8
- package/node_modules/@deepseek-ai/dsh-tool-jobs/lib/index.js +127 -13
- package/node_modules/@deepseek-ai/dsh-tool-jobs/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-jobs/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-jobs/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-jobs/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-jobs/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-jobs/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-jobs/package.json +16 -15
- package/node_modules/@deepseek-ai/dsh-tool-present/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-present/README.md +3 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/README.zh.md +3 -1
- package/node_modules/@deepseek-ai/dsh-tool-present/lib/index.js +4 -4
- package/node_modules/@deepseek-ai/dsh-tool-present/lib/types/index.js +5 -3
- package/node_modules/@deepseek-ai/dsh-tool-present/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-present/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-present/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-present/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-present/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-present/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-present/package.json +18 -19
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh/package.json +32 -31
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-pwsh-persistent/package.json +23 -22
- package/node_modules/@deepseek-ai/dsh-tool-ralph/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-ralph/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-ralph/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-ralph/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-ralph/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-ralph/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-ralph/package.json +20 -19
- package/node_modules/@deepseek-ai/dsh-tool-schedule/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-schedule/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-schedule/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-schedule/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-schedule/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-schedule/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-schedule/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-schedule/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-schedule/package.json +14 -12
- package/node_modules/@deepseek-ai/dsh-tool-session-query/lib/index.js +3 -4
- package/node_modules/@deepseek-ai/dsh-tool-session-query/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-session-query/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-session-query/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-session-query/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-session-query/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-session-query/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-session-query/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-session-query/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-session-query/package.json +26 -24
- package/node_modules/@deepseek-ai/dsh-tool-skill/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-skill/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-skill/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-skill/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-skill/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-skill/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-skill/package.json +15 -14
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-str-replace-editor/package.json +22 -19
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.i18n.yaml +20 -20
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.md +13 -12
- package/node_modules/@deepseek-ai/dsh-tool-subagent/README.zh.md +13 -12
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/index.js +90 -115
- package/node_modules/@deepseek-ai/dsh-tool-subagent/lib/model-selection-settings.js +55 -2
- package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/model-selection-settings/de.json +5 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/model-selection-settings/es.json +5 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/model-selection-settings/fr.json +5 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/model-selection-settings/ja.json +5 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/model-selection-settings/pt.json +5 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/model-selection-settings/ru.json +5 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent/package.json +23 -22
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.i18n.yaml +14 -14
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.md +8 -9
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/README.zh.md +8 -9
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/index.js +140 -6
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/package.json +22 -28
- package/node_modules/@deepseek-ai/dsh-tool-terminal/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-terminal/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-terminal/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-terminal/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-terminal/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-terminal/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-terminal/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-terminal/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-terminal/package.json +29 -25
- package/node_modules/@deepseek-ai/dsh-tool-todo/lib/index.js +5 -3
- package/node_modules/@deepseek-ai/dsh-tool-todo/lib/types/index.js +4 -3
- package/node_modules/@deepseek-ai/dsh-tool-todo/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-todo/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-todo/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-todo/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-todo/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-todo/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-todo/package.json +14 -13
- package/node_modules/@deepseek-ai/dsh-tool-web/README.i18n.yaml +42 -24
- package/node_modules/@deepseek-ai/dsh-tool-web/README.md +37 -12
- package/node_modules/@deepseek-ai/dsh-tool-web/README.zh.md +37 -12
- package/node_modules/@deepseek-ai/dsh-tool-web/lib/index.js +52 -18
- package/node_modules/@deepseek-ai/dsh-tool-web/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-web/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-web/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-web/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-web/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-web/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-web/package.json +21 -19
- package/node_modules/@deepseek-ai/dsh-tool-workflow/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workflow/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workflow/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workflow/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workflow/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workflow/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workflow/package.json +21 -20
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-working-directory/package.json +13 -11
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tool-workspace-dependencies/package.json +9 -6
- package/node_modules/@deepseek-ai/dsh-tools/README.i18n.yaml +23 -35
- package/node_modules/@deepseek-ai/dsh-tools/README.md +30 -69
- package/node_modules/@deepseek-ai/dsh-tools/README.zh.md +28 -67
- package/node_modules/@deepseek-ai/dsh-tools/lib/index.js +242 -3387
- package/node_modules/@deepseek-ai/dsh-tools/lib/pipeline.js +948 -0
- package/node_modules/@deepseek-ai/dsh-tools/lib/shared-DTdn5dXO.js +598 -0
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/batch.js +246 -0
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/contracts.js +51 -0
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/events.js +2 -0
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/executor.js +19 -0
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/index.js +181 -1192
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/pipeline.js +701 -0
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/schema.js +15 -1
- package/node_modules/@deepseek-ai/dsh-tools/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tools/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tools/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tools/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tools/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tools/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-tools/package.json +24 -29
- package/node_modules/@deepseek-ai/dsh-tui-app/README.i18n.yaml +12 -12
- package/node_modules/@deepseek-ai/dsh-tui-app/README.md +17 -14
- package/node_modules/@deepseek-ai/dsh-tui-app/README.zh.md +17 -14
- package/node_modules/@deepseek-ai/dsh-tui-app/lib/index.js +1977 -1486
- package/node_modules/@deepseek-ai/dsh-tui-app/package.json +81 -80
- package/node_modules/@deepseek-ai/dsh-typert-loader/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-loader/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-loader/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-loader/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-loader/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-loader/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-loader/package.json +5 -5
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-protocol/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-typert-protocol/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-typert-registry/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-typert-registry/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-typert-registry/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-typert-registry/lib/client.browser.js +10 -3
- package/node_modules/@deepseek-ai/dsh-typert-registry/lib/client.node.js +10 -3
- package/node_modules/@deepseek-ai/dsh-typert-registry/lib/index.js +10 -3
- package/node_modules/@deepseek-ai/dsh-typert-registry/lib/types/service.js +17 -3
- package/node_modules/@deepseek-ai/dsh-typert-registry/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-registry/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-registry/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-registry/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-registry/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-registry/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-typert-registry/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-user-approval/README.i18n.yaml +17 -14
- package/node_modules/@deepseek-ai/dsh-user-approval/README.md +18 -6
- package/node_modules/@deepseek-ai/dsh-user-approval/README.zh.md +18 -6
- package/node_modules/@deepseek-ai/dsh-user-approval/lib/index.js +50 -25
- package/node_modules/@deepseek-ai/dsh-user-approval/lib/types/index.js +45 -32
- package/node_modules/@deepseek-ai/dsh-user-approval/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-user-approval/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-user-approval/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-user-approval/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-user-approval/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-user-approval/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-user-approval/package.json +19 -16
- package/node_modules/@deepseek-ai/dsh-user-questions/README.i18n.yaml +2 -2
- package/node_modules/@deepseek-ai/dsh-user-questions/README.md +1 -1
- package/node_modules/@deepseek-ai/dsh-user-questions/README.zh.md +1 -1
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/index.js +35 -7
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.host.js +12 -8
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/typert.remote-client.js +2 -2
- package/node_modules/@deepseek-ai/dsh-user-questions/lib/types/index.js +43 -17
- package/node_modules/@deepseek-ai/dsh-user-questions/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-user-questions/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-user-questions/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-user-questions/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-user-questions/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-user-questions/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-user-questions/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-util-code-language/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-crypto/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-time/README.i18n.yaml +26 -17
- package/node_modules/@deepseek-ai/dsh-util-time/README.md +64 -13
- package/node_modules/@deepseek-ai/dsh-util-time/README.zh.md +64 -13
- package/node_modules/@deepseek-ai/dsh-util-time/lib/index.js +327 -14
- package/node_modules/@deepseek-ai/dsh-util-time/package.json +5 -2
- package/node_modules/@deepseek-ai/dsh-util-values/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/lib/index.js +2 -2
- package/node_modules/@deepseek-ai/dsh-util-workspace-path/package.json +1 -1
- package/node_modules/@deepseek-ai/dsh-web/README.i18n.yaml +15 -12
- package/node_modules/@deepseek-ai/dsh-web/README.md +16 -4
- package/node_modules/@deepseek-ai/dsh-web/README.zh.md +16 -4
- package/node_modules/@deepseek-ai/dsh-web/lib/index.js +49 -3
- package/node_modules/@deepseek-ai/dsh-web/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web/package.json +3 -3
- package/node_modules/@deepseek-ai/dsh-web-app/README.i18n.yaml +4 -4
- package/node_modules/@deepseek-ai/dsh-web-app/README.md +2 -2
- package/node_modules/@deepseek-ai/dsh-web-app/README.zh.md +2 -2
- package/node_modules/@deepseek-ai/dsh-web-app/cordis.patch.yml +17 -14
- package/node_modules/@deepseek-ai/dsh-web-app/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-app/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-app/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-app/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-app/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-app/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-app/locale/startup/de.json +5 -0
- package/node_modules/@deepseek-ai/dsh-web-app/locale/startup/es.json +5 -0
- package/node_modules/@deepseek-ai/dsh-web-app/locale/startup/fr.json +5 -0
- package/node_modules/@deepseek-ai/dsh-web-app/locale/startup/ja.json +5 -0
- package/node_modules/@deepseek-ai/dsh-web-app/locale/startup/pt.json +5 -0
- package/node_modules/@deepseek-ai/dsh-web-app/locale/startup/ru.json +5 -0
- package/node_modules/@deepseek-ai/dsh-web-app/package.json +147 -143
- package/node_modules/@deepseek-ai/dsh-web-app/presets/cordis.patch.yml +2 -3
- package/node_modules/@deepseek-ai/dsh-web-app/presets/ptc.patch.yml +4 -7
- package/node_modules/@deepseek-ai/dsh-web-app/presets/standard.patch.yml +3 -4
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.i18n.yaml +24 -12
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.md +23 -5
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/README.zh.md +23 -5
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/lib/index.js +64 -8
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-deepseek-api/package.json +16 -15
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/README.i18n.yaml +16 -16
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/README.md +8 -8
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/README.zh.md +8 -8
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/lib/index.js +41 -300
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-fetch-http/package.json +7 -9
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/apple-touch-icon.png +0 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-91FlLSYh.css +1 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-UeToUMuD.js +197 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{graphql-VhKNCVsv.js → graphql-BIiNFDN_.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{http-br_RHStI.js → http-DIhnzaXE.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-B4EoFdzs.js +2 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{rst-CyvSi_BO.js → rst-BHSXxbFM.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{ruby-CO7l6YCm.js → ruby-DYyEMX7k.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{svelte-BYadmKUw.js → svelte-CwMGesqy.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/{vue-B0l-UZcs.js → vue-DgeFhH50.js} +2 -2
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/{vendor-DcuzkuQH.js → vendor-D3p0kQ7Q.js} +3 -3
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/icon-192.png +0 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/icon-512.png +0 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/icon-maskable-512.png +0 -0
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/index.html +6 -3
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/manifest.webmanifest +18 -4
- package/node_modules/@deepseek-ai/dsh-web-frontend/package.json +22 -18
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.i18n.yaml +24 -12
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.md +24 -3
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/README.zh.md +24 -3
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/lib/index.js +47 -3
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-deepseek/package.json +15 -15
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-exa/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-exa/package.json +8 -6
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-web-search-perplexity/package.json +8 -6
- package/node_modules/@deepseek-ai/dsh-win32-process/package.json +2 -2
- package/node_modules/@deepseek-ai/dsh-workflow/package.json +9 -9
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workflow-ptc/package.json +36 -36
- package/node_modules/@deepseek-ai/dsh-working-directory/lib/index.js +7 -3
- package/node_modules/@deepseek-ai/dsh-working-directory/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-working-directory/locale/en.json +6 -0
- package/node_modules/@deepseek-ai/dsh-working-directory/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-working-directory/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-working-directory/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-working-directory/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-working-directory/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-working-directory/locale/zh.json +6 -0
- package/node_modules/@deepseek-ai/dsh-working-directory/package.json +20 -18
- package/node_modules/@deepseek-ai/dsh-workspace/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace/package.json +12 -12
- package/node_modules/@deepseek-ai/dsh-workspace-changes/locale/de.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/locale/es.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/locale/fr.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/locale/ja.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/locale/pt.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/locale/ru.json +6 -0
- package/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +18 -18
- package/node_modules/@earendil-works/pi-ai/README.md +78 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/anthropic-messages.js +7 -10
- package/node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.js +8 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/bedrock-converse-stream.js +12 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/classifier-shared.js +4 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/cloudflare-workers-ai-system-one.js +8 -0
- package/node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.js +4 -4
- package/node_modules/@earendil-works/pi-ai/dist/api/google-shared.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/google-vertex.js +9 -9
- package/node_modules/@earendil-works/pi-ai/dist/api/lazy.js +24 -5
- package/node_modules/@earendil-works/pi-ai/dist/api/llama-cpp-classify.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.js +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.js +17 -11
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-completions.js +14 -8
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses-shared.js +61 -9
- package/node_modules/@earendil-works/pi-ai/dist/api/openai-responses.js +17 -9
- package/node_modules/@earendil-works/pi-ai/dist/api/openrouter-images.js +4 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/pi-messages.js +3 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/simple-options.js +2 -1
- package/node_modules/@earendil-works/pi-ai/dist/api/system-one-shared.js +55 -3
- package/node_modules/@earendil-works/pi-ai/dist/api/typesafe-system-one.js +10 -0
- package/node_modules/@earendil-works/pi-ai/dist/index.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.js +19 -6
- package/node_modules/@earendil-works/pi-ai/dist/providers/compat-schema.js +15 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/amazon-bedrock.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/azure.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/cerebras.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/cloudflare-workers-ai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/groq.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/huggingface.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/minimax-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/minimax.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/moonshotai-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai-codex.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/together.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/typesafe.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xai.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-ams.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi-token-plan-sgp.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/xiaomi.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/zai-coding-cn.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/model-schema.js +4 -2
- package/node_modules/@earendil-works/pi-ai/dist/telemetry.js +191 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/identity.js +141 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +6 -1
- package/node_modules/@earendil-works/pi-ai/dist/utils/retry.js +16 -7
- package/node_modules/@earendil-works/pi-ai/dist/utils/transcript.js +29 -18
- package/node_modules/@earendil-works/pi-ai/dist/utils/version.js +3 -0
- package/node_modules/@earendil-works/pi-ai/package.json +2 -2
- package/node_modules/@earendil-works/pi-telemetry/README.md +167 -21
- package/node_modules/@earendil-works/pi-telemetry/dist/index.js +2 -1
- package/node_modules/@earendil-works/pi-telemetry/dist/memory.js +228 -80
- package/node_modules/@earendil-works/pi-telemetry/dist/metrics.js +14 -0
- package/node_modules/@earendil-works/pi-telemetry/dist/noop.js +19 -7
- package/node_modules/@earendil-works/pi-telemetry/dist/render.js +48 -0
- package/node_modules/@earendil-works/pi-telemetry/dist/testing/conformance.js +171 -77
- package/node_modules/@earendil-works/pi-telemetry/package.json +6 -1
- package/node_modules/birpc/LICENSE +21 -0
- package/node_modules/birpc/README.md +235 -0
- package/node_modules/birpc/dist/index.mjs +269 -0
- package/node_modules/birpc/package.json +44 -0
- package/node_modules/hosted-git-info/LICENSE +13 -0
- package/node_modules/hosted-git-info/README.md +138 -0
- package/node_modules/hosted-git-info/lib/from-url.js +122 -0
- package/node_modules/hosted-git-info/lib/hosts.js +229 -0
- package/node_modules/hosted-git-info/lib/index.js +227 -0
- package/node_modules/hosted-git-info/lib/parse-url.js +81 -0
- package/node_modules/hosted-git-info/package.json +44 -0
- package/node_modules/lru-cache/LICENSE.md +55 -0
- package/node_modules/lru-cache/README.md +469 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +9 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/node_modules/lru-cache/dist/commonjs/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.js +10 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
- package/node_modules/lru-cache/dist/esm/browser/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
- package/node_modules/lru-cache/dist/esm/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +6 -0
- package/node_modules/lru-cache/dist/esm/node/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/node/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/node_modules/lru-cache/dist/esm/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.js +4 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.js +7 -0
- package/node_modules/lru-cache/package.json +159 -0
- package/node_modules/on-finished/index.js +14 -2
- package/node_modules/on-finished/package.json +10 -6
- package/package.json +351 -308
- package/node_modules/@deepseek-ai/dsh/lib/dump-config-CxNkSYcK.js +0 -2
- package/node_modules/@deepseek-ai/dsh-agent/lib/types/invariant.js +0 -24
- package/node_modules/@deepseek-ai/dsh-agent-preset-registry/lib/types/invariant.js +0 -53
- package/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/model-selection-projection.js +0 -66
- package/node_modules/@deepseek-ai/dsh-authorization/lib/types/invariant.js +0 -38
- package/node_modules/@deepseek-ai/dsh-commands/lib/types/invariant.js +0 -62
- package/node_modules/@deepseek-ai/dsh-compaction/lib/types/invariant.js +0 -305
- package/node_modules/@deepseek-ai/dsh-credentials/lib/types/invariant.js +0 -31
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/invariant.js +0 -26
- package/node_modules/@deepseek-ai/dsh-experimental-agent-team/lib/types/mailbox.js +0 -293
- package/node_modules/@deepseek-ai/dsh-goal/lib/types/invariant.js +0 -71
- package/node_modules/@deepseek-ai/dsh-jobs/lib/types/invariant.js +0 -110
- package/node_modules/@deepseek-ai/dsh-llm/lib/types/invariant.js +0 -100
- package/node_modules/@deepseek-ai/dsh-llm-retry/lib/types/history.js +0 -26
- package/node_modules/@deepseek-ai/dsh-llm-retry/lib/types/invariant.js +0 -156
- package/node_modules/@deepseek-ai/dsh-permission-presets/lib/types/invariant.js +0 -36
- package/node_modules/@deepseek-ai/dsh-plan-mode/lib/types/invariant.js +0 -44
- package/node_modules/@deepseek-ai/dsh-sandbox-windows-acl/lib/types-DxezulnA.js +0 -1324
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/invariant.js +0 -58
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/persistence.js +0 -30
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/projection.js +0 -68
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/tools.js +0 -505
- package/node_modules/@deepseek-ai/dsh-schedule/lib/types/transaction.js +0 -22
- package/node_modules/@deepseek-ai/dsh-session/lib/types/invariant.js +0 -207
- package/node_modules/@deepseek-ai/dsh-session-log-deepseek/lib/types/invariant.js +0 -66
- package/node_modules/@deepseek-ai/dsh-session-title/lib/types/invariant.js +0 -72
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation-activation.js +0 -700
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/continuation.js +0 -455
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/diagnostic.js +0 -39
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/inbox.js +0 -61
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/invariant.js +0 -91
- package/node_modules/@deepseek-ai/dsh-subagent/lib/types/run-settlement.js +0 -70
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-B2zsQ1Dz.js +0 -1529
- package/node_modules/@deepseek-ai/dsh-subprocess-local/lib/runner-launch-DGV26RBf.js +0 -1525
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/index.js +0 -98
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/lib/types/list-agents.js +0 -136
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/locale/list-agents/en.json +0 -5
- package/node_modules/@deepseek-ai/dsh-tool-subagent-control/locale/list-agents/zh.json +0 -5
- package/node_modules/@deepseek-ai/dsh-tool-todo/lib/types/invariant.js +0 -95
- package/node_modules/@deepseek-ai/dsh-tool-workflow/lib/types/invariant.js +0 -152
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/invariant.js +0 -124
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/testing.js +0 -25
- package/node_modules/@deepseek-ai/dsh-tools/lib/types/types.js +0 -7
- package/node_modules/@deepseek-ai/dsh-user-approval/lib/types/invariant.js +0 -102
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-BxpfOGf3.css +0 -1
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/index-CN7NIWNw.js +0 -191
- package/node_modules/@deepseek-ai/dsh-web-frontend/dist/assets/langs/php-hBQ2F09C.js +0 -2
- package/node_modules/@deepseek-ai/dsh-workflow/lib/types/invariant.js +0 -118
- package/node_modules/@deepseek-ai/dsh-workspace/lib/types/invariant.js +0 -43
- package/node_modules/@earendil-works/pi-ai/dist/utils/pi-user-agent.js +0 -12
- package/node_modules/on-finished/HISTORY.md +0 -98
|
@@ -26,32 +26,6 @@ import { pipeline } from "node:stream/promises";
|
|
|
26
26
|
import { DEFAULT_SESSION_LOG_COMPRESSION_LEVEL, flushLiveSessionLog, readSessionLogText, sessionLogExportDeps, sessionLogZipFilename, streamSessionLogZip } from "@deepseek-ai/dsh-session-log-export";
|
|
27
27
|
import { isCompactCheckpointSource } from "@deepseek-ai/dsh-compaction/checkpoint";
|
|
28
28
|
import { isSurfaceEvent } from "@deepseek-ai/dsh-session/surface";
|
|
29
|
-
//#region lib/types/resume-model.js
|
|
30
|
-
/**
|
|
31
|
-
* Resume-time model selection: the last logged route, else the launch default.
|
|
32
|
-
* @module @deepseek-ai/dsh-tui-app/resume-model
|
|
33
|
-
*/
|
|
34
|
-
/**
|
|
35
|
-
* The model the next resumed request should assemble with.
|
|
36
|
-
*
|
|
37
|
-
* A logged header supplies the conversation's last provider, model, and any
|
|
38
|
-
* effort the adapter did not default. An adapter-defaulted effort is omitted
|
|
39
|
-
* so an unchanged default does not read as a request change. A log with no
|
|
40
|
-
* header uses `fallback`, the same launch default a fresh session starts from.
|
|
41
|
-
*
|
|
42
|
-
* @param logged - the Session's last request header, or undefined before one exists.
|
|
43
|
-
* @param fallback - the composed default-model selection.
|
|
44
|
-
* @returns the selection installed for prompt assembly and request routing.
|
|
45
|
-
*/
|
|
46
|
-
function resumeModelSelection(logged, fallback) {
|
|
47
|
-
if (logged === void 0) return fallback;
|
|
48
|
-
return {
|
|
49
|
-
provider: logged.config.provider,
|
|
50
|
-
model: logged.config.model,
|
|
51
|
-
...logged.config.reasoningEffort === void 0 || logged.adapterDefaults?.reasoningEffort === true ? {} : { reasoningEffort: logged.config.reasoningEffort }
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
//#endregion
|
|
55
29
|
//#region lib/types/btw.js
|
|
56
30
|
/**
|
|
57
31
|
* `/btw`: a temporary side agent seeded with the bound session's context. This
|
|
@@ -198,7 +172,7 @@ const NAMED = "Esc|Enter|Tab|Space|PgUp|PgDn|Home|End";
|
|
|
198
172
|
/** One arrow, or a pair drawn as one token such as `↑↓`. */
|
|
199
173
|
const ARROWS = "[↑↓←→]{1,2}";
|
|
200
174
|
/** The single-character keys a legend names, and the `jk` pair the reader draws as one token. */
|
|
201
|
-
const CHARACTERS = String.raw`jk|[
|
|
175
|
+
const CHARACTERS = String.raw`jk|[EIqbf?/@[\]]`;
|
|
202
176
|
/** A key token starts the text or follows whitespace or an opening parenthesis. */
|
|
203
177
|
const BEFORE = String.raw`(?<=^|[\s(])`;
|
|
204
178
|
/** A key token ends the text or precedes whitespace or closing punctuation. */
|
|
@@ -237,7 +211,7 @@ const CTRL_LETTER = /^Ctrl\+([A-Z])$/u;
|
|
|
237
211
|
/** One arrow, shifted or not. */
|
|
238
212
|
const ARROW_KEY = /^(Shift\+)?([↑↓←→])$/u;
|
|
239
213
|
/** A single-character key, which sends itself. */
|
|
240
|
-
const CHARACTER_KEY = /^[
|
|
214
|
+
const CHARACTER_KEY = /^[jkEIqbf?/@[\]]$/u;
|
|
241
215
|
/** Offset between an uppercase letter's code and the control code `Ctrl` with it sends. */
|
|
242
216
|
const CONTROL_OFFSET = 64;
|
|
243
217
|
/**
|
|
@@ -549,499 +523,285 @@ function cursorTo(row) {
|
|
|
549
523
|
return `\u001b[${String(row + 1)};1H`;
|
|
550
524
|
}
|
|
551
525
|
//#endregion
|
|
552
|
-
//#region lib/types/team-
|
|
526
|
+
//#region lib/types/team-intro.js
|
|
553
527
|
/**
|
|
554
|
-
*
|
|
528
|
+
* The empty-session card that says Agent Teams is on, what it does, which
|
|
529
|
+
* commands show the team, and how to turn it off.
|
|
555
530
|
*
|
|
556
|
-
*
|
|
557
|
-
*
|
|
558
|
-
*
|
|
559
|
-
* teammate's transcript; this page is the exchange between them.
|
|
560
|
-
* @module @deepseek-ai/dsh-tui-app/team-play
|
|
531
|
+
* Static text: the card draws the same lines at every frame, so it needs no
|
|
532
|
+
* spinner tick and has no reduced-motion variant.
|
|
533
|
+
* @module @deepseek-ai/dsh-tui-app/team-intro
|
|
561
534
|
*/
|
|
562
|
-
/** What the start card and
|
|
563
|
-
const TEAM_ON_LINE = "Agent Teams is on
|
|
564
|
-
/**
|
|
535
|
+
/** What the start card and the header call the feature. */
|
|
536
|
+
const TEAM_ON_LINE = "Agent Teams is on";
|
|
537
|
+
/** What the lead and its teammates do, in one sentence. */
|
|
538
|
+
const TEAM_EXPLAIN_LINE = "The lead plans the work and delegates independent subtasks to teammates, each with one role.";
|
|
539
|
+
/** Disable command printed on the start card. */
|
|
565
540
|
const TEAM_OFF_COMMAND = "/plugins disable @deepseek-ai/dsh-experimental-agent-team-profile";
|
|
566
|
-
/** What the start card
|
|
567
|
-
const
|
|
568
|
-
/**
|
|
569
|
-
const
|
|
570
|
-
/**
|
|
571
|
-
|
|
572
|
-
* Three beats: the lead spawns a reviewer, asks for the diff, and gets an answer.
|
|
573
|
-
*/
|
|
574
|
-
const SHOWCASE_BEATS = [
|
|
575
|
-
{
|
|
576
|
-
from: "lead",
|
|
577
|
-
to: "reviewer",
|
|
578
|
-
kind: "spawn",
|
|
579
|
-
text: "spawn reviewer"
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
from: "lead",
|
|
583
|
-
to: "reviewer",
|
|
584
|
-
kind: "message",
|
|
585
|
-
text: "check the diff"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
from: "reviewer",
|
|
589
|
-
to: "lead",
|
|
590
|
-
kind: "message",
|
|
591
|
-
text: "the diff is consistent"
|
|
592
|
-
}
|
|
593
|
-
];
|
|
541
|
+
/** What the start card says about turning the feature off. */
|
|
542
|
+
const TEAM_OFF_LINE = "Turn it off, then start dsh tui again:";
|
|
543
|
+
/** The commands the start card names, with what each shows. */
|
|
544
|
+
const TEAM_COMMAND_LINES = [["/team-play", "live team room: roles, current work, tasks, and messages"], ["/team", "roster and shared task board"]];
|
|
545
|
+
/** Columns the command column takes, so the summaries line up. */
|
|
546
|
+
const COMMAND_COLUMNS = 13;
|
|
594
547
|
/**
|
|
595
|
-
*
|
|
596
|
-
* @param
|
|
597
|
-
* @
|
|
598
|
-
* @returns the marker's cell, 0 at the sender.
|
|
548
|
+
* Whether `service` is the Agent Teams service this terminal can read.
|
|
549
|
+
* @param service - the value of `ctx.get('agentTeams')`, absent when the bundle is off.
|
|
550
|
+
* @returns true when the value exposes `listMembers`.
|
|
599
551
|
*/
|
|
600
|
-
function
|
|
601
|
-
|
|
602
|
-
const wrapped = (phase % 8 + 8) % 8;
|
|
603
|
-
return Math.round(wrapped / 7 * span);
|
|
552
|
+
function agentTeamsMounted(service) {
|
|
553
|
+
return typeof service === "object" && service !== null && "listMembers" in service && typeof service.listMembers === "function";
|
|
604
554
|
}
|
|
605
555
|
/**
|
|
606
|
-
* The
|
|
607
|
-
* @param
|
|
608
|
-
* @
|
|
609
|
-
* @param phase - the marker's step.
|
|
610
|
-
* @returns the three pieces.
|
|
556
|
+
* The start card's lines.
|
|
557
|
+
* @param draw - the palette and the width.
|
|
558
|
+
* @returns one line per row, each fitting `draw.width`.
|
|
611
559
|
*/
|
|
612
|
-
function
|
|
613
|
-
const
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
return
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
560
|
+
function teamIntroLines(draw) {
|
|
561
|
+
const width = Math.max(draw.width, 1);
|
|
562
|
+
const fit = (line) => truncateToWidth(line, width, "…");
|
|
563
|
+
const palette = draw.palette;
|
|
564
|
+
return [
|
|
565
|
+
fit(palette.bold(palette.accent(TEAM_ON_LINE))),
|
|
566
|
+
fit(TEAM_EXPLAIN_LINE),
|
|
567
|
+
...TEAM_COMMAND_LINES.map(([command, summary]) => fit(`${palette.accent(command.padEnd(COMMAND_COLUMNS))}${palette.dim(summary)}`)),
|
|
568
|
+
fit(palette.dim(TEAM_OFF_LINE)),
|
|
569
|
+
fit(palette.warning(TEAM_OFF_COMMAND))
|
|
570
|
+
];
|
|
621
571
|
}
|
|
622
572
|
/**
|
|
623
|
-
*
|
|
624
|
-
*
|
|
625
|
-
* A tool call plays when its name is in `toolNames`, the names the Agent
|
|
626
|
-
* Teams plugin currently scopes onto this agent, or when `toolNames` is
|
|
627
|
-
* omitted and the arguments name a person or a task. Every `team/` event
|
|
628
|
-
* plays, including types a later plugin release adds. A user message plays
|
|
629
|
-
* when its source is `agent-message` or its text begins `Team message from`.
|
|
630
|
-
* Malformed tool arguments still name the tool when it is in `toolNames`.
|
|
631
|
-
* @param events - the log events, oldest first.
|
|
632
|
-
* @param speaker - the name of the session that logged the events.
|
|
633
|
-
* @param toolNames - tool names scoped by the plugin. Omitted reads exchanges from call arguments.
|
|
634
|
-
* @returns the exchanges in log order.
|
|
573
|
+
* The start card mounted in an empty root transcript while Agent Teams is on.
|
|
635
574
|
*/
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
575
|
+
var TeamIntro = class {
|
|
576
|
+
palette;
|
|
577
|
+
/**
|
|
578
|
+
* @param palette - the palette the card is styled with.
|
|
579
|
+
*/
|
|
580
|
+
constructor(palette) {
|
|
581
|
+
this.palette = palette;
|
|
641
582
|
}
|
|
642
|
-
|
|
643
|
-
|
|
583
|
+
invalidate() {}
|
|
584
|
+
/**
|
|
585
|
+
* Draw the card.
|
|
586
|
+
* @param width - the columns the card fits.
|
|
587
|
+
* @returns the card's lines.
|
|
588
|
+
*/
|
|
589
|
+
render(width) {
|
|
590
|
+
return teamIntroLines({
|
|
591
|
+
palette: this.palette,
|
|
592
|
+
width
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
};
|
|
596
|
+
//#endregion
|
|
597
|
+
//#region lib/types/motion.js
|
|
644
598
|
/**
|
|
645
|
-
*
|
|
646
|
-
*
|
|
647
|
-
*
|
|
599
|
+
* Chrome motion: the brief lift a docked surface draws when the keyboard
|
|
600
|
+
* lands on it or the mark it holds moves.
|
|
601
|
+
*
|
|
602
|
+
* Pure. A motion is a clock plus a three-level intensity ramp, so nothing
|
|
603
|
+
* here queries a terminal, builds a color, or arms a timer: the application
|
|
604
|
+
* reads {@link Motion.level} and {@link Motion.progress} while it renders and
|
|
605
|
+
* drops the motion once it settles. Every motion is a {@link RegisteredFade},
|
|
606
|
+
* so it rides the one fade tick the application already arms for streamed
|
|
607
|
+
* text and disarms with it - an idle session runs no timer for motion.
|
|
608
|
+
*
|
|
609
|
+
* Two rules hold for every call site. A motion changes what a line is drawn
|
|
610
|
+
* with, never how many lines a docked component returns, because each docked
|
|
611
|
+
* row raises the renderer's repaint boundary for good (`./screen.ts`). And a
|
|
612
|
+
* settled motion draws exactly what the surface draws at rest, so a terminal
|
|
613
|
+
* that runs no motion at all - reduced motion, a disabled palette, no color -
|
|
614
|
+
* loses nothing but the lift.
|
|
615
|
+
* @module @deepseek-ai/dsh-tui-app/motion
|
|
648
616
|
*/
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
const beats = options.beats.length > 0 ? options.beats : SHOWCASE_BEATS;
|
|
654
|
-
const index = (options.beat % beats.length + beats.length) % beats.length;
|
|
655
|
-
const current = beats[index];
|
|
656
|
-
if (current === void 0) return Array.from({ length: options.rows }, () => "");
|
|
657
|
-
const notice = options.example ? "example · this session has no teammate messages yet" : `${String(beats.length)} ${beats.length === 1 ? "interaction" : "interactions"}`;
|
|
658
|
-
const legend = options.paused ? "Esc closes ← → step Space pauses paused" : "Esc closes ← → step Space pauses";
|
|
659
|
-
const lines = [
|
|
660
|
-
fit(`${palette.bold(palette.accent("team play"))} ${palette.dim(TEAM_ON_LINE)}`),
|
|
661
|
-
fit(palette.warning(TEAM_OFF_COMMAND)),
|
|
662
|
-
fit(paintKeys(palette, legend)),
|
|
663
|
-
fit(palette.dim(notice)),
|
|
664
|
-
""
|
|
665
|
-
];
|
|
666
|
-
for (const [offset, beat] of beats.entries()) {
|
|
667
|
-
if (lines.length >= options.rows - 1) break;
|
|
668
|
-
const settled = offset !== index;
|
|
669
|
-
const phase = settled ? 7 : options.phase;
|
|
670
|
-
lines.push(fit(paintLane$1(palette, beat, phase, settled)));
|
|
671
|
-
lines.push(fit(palette.dim(` ${beat.kind} ${beat.text}`)));
|
|
672
|
-
}
|
|
673
|
-
if (!lines.some((line) => line.includes(current.text)) && lines.length < options.rows) {
|
|
674
|
-
lines.push(fit(paintLane$1(palette, current, options.phase, false)));
|
|
675
|
-
lines.push(fit(palette.dim(` ${current.kind} ${current.text}`)));
|
|
676
|
-
}
|
|
677
|
-
while (lines.length < options.rows) lines.push("");
|
|
678
|
-
return lines.slice(0, options.rows);
|
|
679
|
-
}
|
|
617
|
+
/** Share of a motion drawn at its peak. */
|
|
618
|
+
const PEAK_SHARE = 1 / 3;
|
|
619
|
+
/** Share of a motion drawn lifted, the peak included. */
|
|
620
|
+
const LIFTED_SHARE = 2 / 3;
|
|
680
621
|
/**
|
|
681
|
-
*
|
|
622
|
+
* One chrome motion: how far through it the clock is, and how far above its
|
|
623
|
+
* settled drawing the surface it belongs to is drawn right now.
|
|
682
624
|
*/
|
|
683
|
-
var
|
|
625
|
+
var Motion = class {
|
|
684
626
|
options;
|
|
685
|
-
/**
|
|
686
|
-
beat = 0;
|
|
687
|
-
/** The marker's step along the current beat. */
|
|
688
|
-
phase = 0;
|
|
689
|
-
/** Whether Space has paused the play. */
|
|
690
|
-
paused = false;
|
|
691
|
-
/**
|
|
692
|
-
* @param options - the palette, the log, and whether motion is reduced.
|
|
693
|
-
*/
|
|
627
|
+
/** @param options - the start, the length, the period, and the clock. */
|
|
694
628
|
constructor(options) {
|
|
695
629
|
this.options = options;
|
|
696
630
|
}
|
|
697
|
-
/**
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
631
|
+
/**
|
|
632
|
+
* How far through the motion the clock is.
|
|
633
|
+
* @returns a fraction from 0 at the start to 1 once it has run its ticks;
|
|
634
|
+
* 1 at once for a motion with no length at all.
|
|
635
|
+
*/
|
|
636
|
+
progress() {
|
|
637
|
+
const { startedAt, ticks, stepMs, now } = this.options;
|
|
638
|
+
const span = ticks * stepMs;
|
|
639
|
+
if (span <= 0) return 1;
|
|
640
|
+
return Math.min(1, Math.max(0, (now() - startedAt) / span));
|
|
705
641
|
}
|
|
706
642
|
/**
|
|
707
|
-
*
|
|
708
|
-
* @
|
|
709
|
-
*
|
|
643
|
+
* How far above its settled drawing the surface is right now.
|
|
644
|
+
* @returns the peak for the first third of the motion, the lifted level for
|
|
645
|
+
* the second, and the settled level for the rest.
|
|
710
646
|
*/
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
if (
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
}
|
|
717
|
-
const count = Math.max(this.options.beats().length, 1);
|
|
718
|
-
if (matchesKey(data, "right")) {
|
|
719
|
-
this.beat = (this.beat + 1) % count;
|
|
720
|
-
this.phase = 7;
|
|
721
|
-
this.paused = true;
|
|
722
|
-
return;
|
|
723
|
-
}
|
|
724
|
-
if (matchesKey(data, "left")) {
|
|
725
|
-
this.beat = (this.beat - 1 + count) % count;
|
|
726
|
-
this.phase = 7;
|
|
727
|
-
this.paused = true;
|
|
728
|
-
return;
|
|
729
|
-
}
|
|
647
|
+
level() {
|
|
648
|
+
const progress = this.progress();
|
|
649
|
+
if (progress < PEAK_SHARE) return 2;
|
|
650
|
+
if (progress < LIFTED_SHARE) return 1;
|
|
651
|
+
return 0;
|
|
730
652
|
}
|
|
731
653
|
/**
|
|
732
|
-
*
|
|
733
|
-
* @
|
|
734
|
-
*
|
|
735
|
-
* @returns the frame.
|
|
654
|
+
* Whether the motion still needs another repaint.
|
|
655
|
+
* @returns true until it has run its ticks; the last periods draw the
|
|
656
|
+
* settled level, which is what a reveal still grows through.
|
|
736
657
|
*/
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
return teamPlayLines({
|
|
740
|
-
palette: this.options.palette,
|
|
741
|
-
beats: beats.length > 0 ? beats : SHOWCASE_BEATS,
|
|
742
|
-
beat: this.beat,
|
|
743
|
-
phase: this.options.reducedMotion ? 7 : this.phase,
|
|
744
|
-
example: beats.length === 0 || this.options.example(),
|
|
745
|
-
paused: this.paused,
|
|
746
|
-
width,
|
|
747
|
-
rows: Math.max(rows, 1)
|
|
748
|
-
});
|
|
658
|
+
needsRepaint() {
|
|
659
|
+
return this.progress() < 1;
|
|
749
660
|
}
|
|
750
661
|
};
|
|
751
662
|
/**
|
|
752
|
-
*
|
|
753
|
-
* @param
|
|
754
|
-
* @param
|
|
755
|
-
*
|
|
663
|
+
* Lift one piece of chrome by a motion level.
|
|
664
|
+
* @param palette - the palette the lift is drawn with.
|
|
665
|
+
* @param text - the surface's own settled drawing of that piece, styling
|
|
666
|
+
* included; the settled level hands it straight back.
|
|
667
|
+
* @param level - how far above that drawing to lift it.
|
|
668
|
+
* @returns the text at the peak, lifted, or exactly as it settles.
|
|
756
669
|
*/
|
|
757
|
-
function
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
670
|
+
function pulse(palette, text, level) {
|
|
671
|
+
switch (level) {
|
|
672
|
+
case 2: return palette.bold(palette.accent(text));
|
|
673
|
+
case 1: return palette.accent(text);
|
|
674
|
+
case 0: return text;
|
|
675
|
+
/* v8 ignore next 2 -- closed-union exhaustiveness guard */
|
|
676
|
+
default: return assertNever(level, "tui motion level");
|
|
677
|
+
}
|
|
761
678
|
}
|
|
679
|
+
/** Columns the ` ─ ` between the chip and the title takes. */
|
|
680
|
+
const CHIP_MARGIN = 3;
|
|
681
|
+
/** What opens a top rule. */
|
|
682
|
+
const TOP_LEFT = "╭";
|
|
683
|
+
/** What closes a top rule. */
|
|
684
|
+
const TOP_RIGHT = "╮";
|
|
685
|
+
/** What opens a bottom rule. */
|
|
686
|
+
const BOTTOM_LEFT = "╰";
|
|
687
|
+
/** What closes a bottom rule. */
|
|
688
|
+
const BOTTOM_RIGHT = "╯";
|
|
689
|
+
/** What opens a rule drawn between two parts of one frame. */
|
|
690
|
+
const LEGEND_LEFT = "├";
|
|
691
|
+
/** What closes a rule drawn between two parts of one frame. */
|
|
692
|
+
const LEGEND_RIGHT = "┤";
|
|
693
|
+
/** What a rule fills the width between its texts with. */
|
|
694
|
+
const FILL = "─";
|
|
695
|
+
/** The border drawn on each side of a body row. */
|
|
696
|
+
const SIDE$1 = "│";
|
|
697
|
+
/** What separates the chip from the title on a top rule. */
|
|
698
|
+
const CHIP_JOIN = ` ${FILL} `;
|
|
699
|
+
/** The mark the chip opens with, the one inverse block this surface draws. */
|
|
700
|
+
const CHIP_MARK = "●";
|
|
701
|
+
/** What ends a line the width cut short; one column, so the mark itself fits. */
|
|
702
|
+
const ELLIPSIS$5 = "…";
|
|
762
703
|
/**
|
|
763
|
-
*
|
|
764
|
-
*
|
|
765
|
-
* @param
|
|
766
|
-
* @param
|
|
767
|
-
* @returns the
|
|
704
|
+
* The chip that names the active mode: the one inverse block this surface
|
|
705
|
+
* draws, so a mode change is visible at a glance.
|
|
706
|
+
* @param palette - the palette the chip is styled with.
|
|
707
|
+
* @param text - the mode's name, as it is drawn.
|
|
708
|
+
* @returns the chip, padded by one space on each side.
|
|
768
709
|
*/
|
|
769
|
-
function
|
|
770
|
-
|
|
771
|
-
const name = typeof call?.name === "string" ? call.name : void 0;
|
|
772
|
-
if (name === void 0) return void 0;
|
|
773
|
-
const args = argumentsOf(call?.arguments);
|
|
774
|
-
const scoped = toolNames !== void 0 && toolNames.has(name);
|
|
775
|
-
const summary = summarizeCall(name, args);
|
|
776
|
-
if (!scoped && !summary.addressed) return void 0;
|
|
777
|
-
return {
|
|
778
|
-
from: speaker,
|
|
779
|
-
to: summary.to,
|
|
780
|
-
kind: summary.kind,
|
|
781
|
-
text: summary.text
|
|
782
|
-
};
|
|
710
|
+
function chip(palette, text) {
|
|
711
|
+
return palette.inverse(palette.accent(` ${CHIP_MARK} ${text} `));
|
|
783
712
|
}
|
|
784
713
|
/**
|
|
785
|
-
*
|
|
786
|
-
*
|
|
787
|
-
*
|
|
788
|
-
*
|
|
789
|
-
* @param name - the tool name.
|
|
790
|
-
* @param args - parsed arguments, omitted when they were not a JSON object.
|
|
791
|
-
* @returns the lane fields, and whether the arguments themselves name an exchange.
|
|
714
|
+
* Columns a rule leaves its own text.
|
|
715
|
+
* @param width - the width the rule fits.
|
|
716
|
+
* @param chipText - the chip a top rule opens with; omitted for a rule with none.
|
|
717
|
+
* @returns the columns the title, the legend, and the readout share; at least 1.
|
|
792
718
|
*/
|
|
793
|
-
function
|
|
794
|
-
const
|
|
795
|
-
|
|
796
|
-
const prompt = text(args?.prompt);
|
|
797
|
-
const message = text(args?.message);
|
|
798
|
-
const subject = text(args?.subject);
|
|
799
|
-
const action = text(args?.action);
|
|
800
|
-
const addressed = target !== void 0 || teammate !== void 0 || message !== void 0 || prompt !== void 0 || subject !== void 0 || action !== void 0;
|
|
801
|
-
if (subject !== void 0 || action !== void 0) {
|
|
802
|
-
const caption = subject !== void 0 && action !== void 0 ? `${action} ${subject}` : subject ?? action ?? name;
|
|
803
|
-
return {
|
|
804
|
-
addressed,
|
|
805
|
-
to: target ?? "board",
|
|
806
|
-
kind: "task",
|
|
807
|
-
text: caption
|
|
808
|
-
};
|
|
809
|
-
}
|
|
810
|
-
if (prompt !== void 0 && target === void 0) return {
|
|
811
|
-
addressed,
|
|
812
|
-
to: teammate ?? "team",
|
|
813
|
-
kind: "spawn",
|
|
814
|
-
text: prompt
|
|
815
|
-
};
|
|
816
|
-
if (message !== void 0 || target !== void 0) return {
|
|
817
|
-
addressed,
|
|
818
|
-
to: target ?? teammate ?? "team",
|
|
819
|
-
kind: "message",
|
|
820
|
-
text: message ?? name
|
|
821
|
-
};
|
|
822
|
-
const extra = args === void 0 ? void 0 : Object.entries(args).find((entry) => typeof entry[1] === "string");
|
|
823
|
-
return {
|
|
824
|
-
addressed,
|
|
825
|
-
to: "team",
|
|
826
|
-
kind: "message",
|
|
827
|
-
text: extra === void 0 ? name : `${extra[0]}: ${extra[1]}`
|
|
828
|
-
};
|
|
829
|
-
}
|
|
830
|
-
/**
|
|
831
|
-
* One `team/` event as an exchange. Member and task records keep their lane;
|
|
832
|
-
* any other team event uses the first string it carries, or the event type.
|
|
833
|
-
* @param type - the event type, including the `team/` prefix.
|
|
834
|
-
* @param data - the event data.
|
|
835
|
-
* @param speaker - the session that logged the event.
|
|
836
|
-
* @returns the exchange.
|
|
837
|
-
*/
|
|
838
|
-
function beatFromTeam(type, data, speaker) {
|
|
839
|
-
const label = type.slice(5);
|
|
840
|
-
const root = fields(data) ?? {};
|
|
841
|
-
const nested = fields(root.member) ?? fields(root.task) ?? fields(root.message) ?? root;
|
|
842
|
-
if (root.member !== void 0) {
|
|
843
|
-
const name = text(nested.name);
|
|
844
|
-
if (name === void 0) return {
|
|
845
|
-
from: speaker,
|
|
846
|
-
to: "team",
|
|
847
|
-
kind: "spawn",
|
|
848
|
-
text: label
|
|
849
|
-
};
|
|
850
|
-
return {
|
|
851
|
-
from: speaker,
|
|
852
|
-
to: name,
|
|
853
|
-
kind: "spawn",
|
|
854
|
-
text: text(nested.error) ?? text(nested.phase) ?? label
|
|
855
|
-
};
|
|
856
|
-
}
|
|
857
|
-
if (root.task !== void 0) {
|
|
858
|
-
const subject = text(nested.subject);
|
|
859
|
-
const status = text(nested.status);
|
|
860
|
-
return {
|
|
861
|
-
from: speaker,
|
|
862
|
-
to: "board",
|
|
863
|
-
kind: "task",
|
|
864
|
-
text: subject !== void 0 && status !== void 0 ? `${status} ${subject}` : subject ?? status ?? label
|
|
865
|
-
};
|
|
866
|
-
}
|
|
867
|
-
const who = text(nested.name) ?? text(nested.senderName) ?? text(nested.subject) ?? "team";
|
|
868
|
-
const first = Object.values(nested).find((value) => typeof value === "string" && value.trim() !== "");
|
|
869
|
-
return {
|
|
870
|
-
from: speaker,
|
|
871
|
-
to: who,
|
|
872
|
-
kind: "message",
|
|
873
|
-
text: text(nested.phase) ?? text(nested.status) ?? text(nested.message) ?? text(nested.text) ?? first ?? label
|
|
874
|
-
};
|
|
875
|
-
}
|
|
876
|
-
/**
|
|
877
|
-
* A received team message as an exchange aimed at `speaker`.
|
|
878
|
-
* @param data - the user-message data.
|
|
879
|
-
* @param speaker - the session that received the message.
|
|
880
|
-
* @returns the exchange, or undefined when the text is not a team message.
|
|
881
|
-
*/
|
|
882
|
-
function beatFromUser(data, speaker) {
|
|
883
|
-
const message = fields(fields(data)?.message);
|
|
884
|
-
const content = message?.content;
|
|
885
|
-
if (!Array.isArray(content)) return void 0;
|
|
886
|
-
const parts = [];
|
|
887
|
-
for (const block of content) {
|
|
888
|
-
const row = fields(block);
|
|
889
|
-
if (row?.type === "text" && typeof row.text === "string") parts.push(row.text);
|
|
890
|
-
}
|
|
891
|
-
const body = parts.join("");
|
|
892
|
-
const matched = /^Team message from ([^:]+):\s*([\s\S]*)$/u.exec(body);
|
|
893
|
-
const named = matched?.[1]?.trim();
|
|
894
|
-
const said = matched?.[2]?.trim();
|
|
895
|
-
if (named !== void 0 && named !== "" && said !== void 0 && said !== "") return {
|
|
896
|
-
from: named,
|
|
897
|
-
to: speaker,
|
|
898
|
-
kind: "message",
|
|
899
|
-
text: said
|
|
900
|
-
};
|
|
901
|
-
const source = fields(message?.source);
|
|
902
|
-
if (source?.kind === "agent-message" && body !== "") return {
|
|
903
|
-
from: text(source.senderName) ?? "teammate",
|
|
904
|
-
to: speaker,
|
|
905
|
-
kind: "message",
|
|
906
|
-
text: body
|
|
907
|
-
};
|
|
908
|
-
}
|
|
909
|
-
/**
|
|
910
|
-
* Parse tool arguments, skipping text that is not a JSON object.
|
|
911
|
-
* @param value - the arguments string a tool call logged.
|
|
912
|
-
* @returns the object, or undefined when it is missing or not an object.
|
|
913
|
-
*/
|
|
914
|
-
function argumentsOf(value) {
|
|
915
|
-
if (typeof value !== "string") return void 0;
|
|
916
|
-
try {
|
|
917
|
-
return fields(JSON.parse(value));
|
|
918
|
-
} catch (error) {
|
|
919
|
-
return;
|
|
920
|
-
}
|
|
719
|
+
function ruleRoom(width, chipText = "") {
|
|
720
|
+
const chipColumns = chipText === "" ? 0 : visibleWidth(chipText) + CHIP_MARGIN;
|
|
721
|
+
return Math.max(1, width - 4 - chipColumns);
|
|
921
722
|
}
|
|
922
723
|
/**
|
|
923
|
-
*
|
|
924
|
-
* @param
|
|
925
|
-
* @
|
|
724
|
+
* The widest legend a width can hold.
|
|
725
|
+
* @param steps - the declared steps, widest first.
|
|
726
|
+
* @param width - the columns the legend has.
|
|
727
|
+
* @returns the first step that fits, and the last step when none does — a
|
|
728
|
+
* surface that names no way back would be worse than one cut short.
|
|
926
729
|
*/
|
|
927
|
-
function
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
return trimmed === "" ? void 0 : trimmed;
|
|
730
|
+
function fitLegend(steps, width) {
|
|
731
|
+
for (const step of steps) if (visibleWidth(step) <= width) return step;
|
|
732
|
+
return steps.at(-1) ?? "";
|
|
931
733
|
}
|
|
932
734
|
/**
|
|
933
|
-
*
|
|
934
|
-
* @param
|
|
935
|
-
* @
|
|
735
|
+
* One rule of a frame.
|
|
736
|
+
* @param open - the opening glyph.
|
|
737
|
+
* @param close - the closing glyph.
|
|
738
|
+
* @param parts - the texts, the width, the palette, and the tone.
|
|
739
|
+
* @param chipText - the chip the rule opens with; empty for a rule with none.
|
|
740
|
+
* @returns the line, exactly `width` columns while the closing glyph fits.
|
|
936
741
|
*/
|
|
937
|
-
function
|
|
938
|
-
|
|
939
|
-
const
|
|
940
|
-
|
|
941
|
-
|
|
742
|
+
function rule(open, close, parts, chipText) {
|
|
743
|
+
const width = Math.max(1, parts.width);
|
|
744
|
+
const { palette, level = 0 } = parts;
|
|
745
|
+
const paint = parts.tone === "focus" ? (text) => pulse(palette, palette.accent(text), level) : palette.dim;
|
|
746
|
+
const leading = [chipText, parts.left ?? ""].filter((text) => text !== "").join(paint(CHIP_JOIN));
|
|
747
|
+
const head = leading === "" ? paint(open) : `${paint(open)} ${leading} `;
|
|
748
|
+
const right = parts.right ?? "";
|
|
749
|
+
const tail = right === "" ? paint(close) : ` ${right} ${paint(close)}`;
|
|
750
|
+
const room = width - visibleWidth(tail);
|
|
751
|
+
const cut = room >= 1 ? truncateToWidth(head, room, ELLIPSIS$5) : "";
|
|
752
|
+
return truncateToWidth(`${cut}${paint(FILL.repeat(Math.max(0, width - visibleWidth(cut) - visibleWidth(tail))))}${tail}`, width, ELLIPSIS$5);
|
|
942
753
|
}
|
|
943
754
|
/**
|
|
944
|
-
*
|
|
945
|
-
*
|
|
946
|
-
*
|
|
947
|
-
* @
|
|
948
|
-
* @param phase - the marker's step.
|
|
949
|
-
* @param settled - draw the lane dim instead of coloring the names.
|
|
950
|
-
* @returns the colored lane.
|
|
755
|
+
* The rule a framed surface opens with.
|
|
756
|
+
* @param parts - the chip, the title, an optional readout, the width, the
|
|
757
|
+
* palette, and the tone.
|
|
758
|
+
* @returns the line, exactly `width` columns.
|
|
951
759
|
*/
|
|
952
|
-
function
|
|
953
|
-
const
|
|
954
|
-
|
|
955
|
-
|
|
760
|
+
function topRule(parts) {
|
|
761
|
+
const { chip: chipText, title, ...rest } = parts;
|
|
762
|
+
return rule(TOP_LEFT, TOP_RIGHT, {
|
|
763
|
+
...rest,
|
|
764
|
+
left: title ?? ""
|
|
765
|
+
}, chipText ?? "");
|
|
956
766
|
}
|
|
957
|
-
//#endregion
|
|
958
|
-
//#region lib/types/team-intro.js
|
|
959
|
-
/**
|
|
960
|
-
* The empty-session card that says Agent Teams is on, how to turn it off,
|
|
961
|
-
* and a short collaboration animation.
|
|
962
|
-
*
|
|
963
|
-
* Pure aside from the component's frame counter. The application advances
|
|
964
|
-
* that counter on the spinner tick; reduced motion draws every beat settled.
|
|
965
|
-
* @module @deepseek-ai/dsh-tui-app/team-intro
|
|
966
|
-
*/
|
|
967
767
|
/**
|
|
968
|
-
*
|
|
969
|
-
* @param
|
|
970
|
-
* @returns
|
|
768
|
+
* The rule a framed surface ends with, which carries its legend.
|
|
769
|
+
* @param parts - the legend, an optional readout, the width, the palette, and the tone.
|
|
770
|
+
* @returns the line, exactly `width` columns.
|
|
971
771
|
*/
|
|
972
|
-
function
|
|
973
|
-
return
|
|
772
|
+
function bottomRule(parts) {
|
|
773
|
+
return rule(BOTTOM_LEFT, BOTTOM_RIGHT, parts, "");
|
|
974
774
|
}
|
|
975
775
|
/**
|
|
976
|
-
*
|
|
977
|
-
*
|
|
978
|
-
* @
|
|
776
|
+
* A rule drawn between two parts of one frame, for the legend of a surface
|
|
777
|
+
* that goes on below it.
|
|
778
|
+
* @param parts - the legend, an optional readout, the width, the palette, and the tone.
|
|
779
|
+
* @returns the line, exactly `width` columns.
|
|
979
780
|
*/
|
|
980
|
-
function
|
|
981
|
-
|
|
982
|
-
const fit = (line) => truncateToWidth(line, width, "…");
|
|
983
|
-
const palette = draw.palette;
|
|
984
|
-
const lines = [
|
|
985
|
-
fit(palette.bold(palette.accent(TEAM_ON_LINE))),
|
|
986
|
-
fit(palette.dim("Turn it off, then start dsh tui again:")),
|
|
987
|
-
fit(palette.warning(TEAM_OFF_COMMAND)),
|
|
988
|
-
fit(palette.dim(TEAM_PLAY_LINE)),
|
|
989
|
-
""
|
|
990
|
-
];
|
|
991
|
-
const playing = SHOWCASE_BEATS[Math.floor(draw.frame / 8) % SHOWCASE_BEATS.length] ?? SHOWCASE_BEATS[0];
|
|
992
|
-
const beats = draw.reducedMotion || playing === void 0 ? SHOWCASE_BEATS : [playing];
|
|
993
|
-
for (const beat of beats) {
|
|
994
|
-
const phase = draw.reducedMotion ? 7 : draw.frame % 8;
|
|
995
|
-
lines.push(fit(paintLane(palette, beat, phase)));
|
|
996
|
-
lines.push(fit(palette.dim(` ${beat.text}`)));
|
|
997
|
-
}
|
|
998
|
-
return lines;
|
|
781
|
+
function legendRule(parts) {
|
|
782
|
+
return rule(LEGEND_LEFT, LEGEND_RIGHT, parts, "");
|
|
999
783
|
}
|
|
1000
784
|
/**
|
|
1001
|
-
* One
|
|
1002
|
-
*
|
|
1003
|
-
* @
|
|
1004
|
-
*
|
|
1005
|
-
* @
|
|
785
|
+
* One row inside a frame, closed on both sides: the content is padded to the
|
|
786
|
+
* room between the borders, so a frame reads as one box however short its
|
|
787
|
+
* rows are. Content wrapped at {@link BODY_MARGIN} columns less than the width
|
|
788
|
+
* is drawn whole; anything wider is cut.
|
|
789
|
+
* @param content - the row, already styled and already wrapped.
|
|
790
|
+
* @param width - the columns the line must fit.
|
|
791
|
+
* @param palette - the palette the borders are styled with.
|
|
792
|
+
* @param tone - which role those borders take.
|
|
793
|
+
* @param level - how far above its settled drawing the borders are lifted, so
|
|
794
|
+
* the whole outline of a frame moves as one; `0` draws the settled borders.
|
|
795
|
+
* @returns the line, exactly `width` columns while both borders fit.
|
|
1006
796
|
*/
|
|
1007
|
-
function
|
|
1008
|
-
const
|
|
1009
|
-
|
|
797
|
+
function bodyLine(content, width, palette, tone, level = 0) {
|
|
798
|
+
const border = tone === "focus" ? pulse(palette, palette.accent(SIDE$1), level) : palette.dim(SIDE$1);
|
|
799
|
+
const columns = Math.max(1, width);
|
|
800
|
+
const room = columns - 4;
|
|
801
|
+
if (room < 1) return truncateToWidth(`${border} ${content}`, columns, ELLIPSIS$5);
|
|
802
|
+
const cut = truncateToWidth(content, room, ELLIPSIS$5);
|
|
803
|
+
return `${border} ${cut}${" ".repeat(Math.max(0, room - visibleWidth(cut)))} ${border}`;
|
|
1010
804
|
}
|
|
1011
|
-
/**
|
|
1012
|
-
* The start card mounted in an empty root transcript while Agent Teams is on.
|
|
1013
|
-
*/
|
|
1014
|
-
var TeamIntro = class {
|
|
1015
|
-
palette;
|
|
1016
|
-
reducedMotion;
|
|
1017
|
-
frame = 0;
|
|
1018
|
-
/**
|
|
1019
|
-
* @param palette - the palette the card is styled with.
|
|
1020
|
-
* @param reducedMotion - draw the storyboard settled instead of stepping it.
|
|
1021
|
-
*/
|
|
1022
|
-
constructor(palette, reducedMotion) {
|
|
1023
|
-
this.palette = palette;
|
|
1024
|
-
this.reducedMotion = reducedMotion;
|
|
1025
|
-
}
|
|
1026
|
-
/** Step the showcase to its next frame. A reduced-motion card stays settled. */
|
|
1027
|
-
advance() {
|
|
1028
|
-
if (!this.reducedMotion) this.frame += 1;
|
|
1029
|
-
}
|
|
1030
|
-
invalidate() {}
|
|
1031
|
-
/**
|
|
1032
|
-
* Draw the card.
|
|
1033
|
-
* @param width - the columns the card fits.
|
|
1034
|
-
* @returns the card's lines.
|
|
1035
|
-
*/
|
|
1036
|
-
render(width) {
|
|
1037
|
-
return teamIntroLines({
|
|
1038
|
-
palette: this.palette,
|
|
1039
|
-
frame: this.frame,
|
|
1040
|
-
width,
|
|
1041
|
-
reducedMotion: this.reducedMotion
|
|
1042
|
-
});
|
|
1043
|
-
}
|
|
1044
|
-
};
|
|
1045
805
|
//#endregion
|
|
1046
806
|
//#region lib/types/team.js
|
|
1047
807
|
/**
|
|
@@ -1174,6 +934,43 @@ function teamToolRows(visible, globalNames = /* @__PURE__ */ new Set()) {
|
|
|
1174
934
|
return typeof description === "string" && description !== "" ? `${tool.name} ${description}` : tool.name;
|
|
1175
935
|
}).sort((left, right) => left.localeCompare(right));
|
|
1176
936
|
}
|
|
937
|
+
/** What the lead's role reads as; the lead plans the work and delegates subtasks. */
|
|
938
|
+
const LEAD_ROLE_TEXT = "orchestrator";
|
|
939
|
+
/**
|
|
940
|
+
* The role a roster row plays, as the terminal names it.
|
|
941
|
+
* @param member - the roster row.
|
|
942
|
+
* @returns the lead's {@link LEAD_ROLE_TEXT}, a teammate's description (the responsibility
|
|
943
|
+
* the lead gave it), or `teammate` when it has none.
|
|
944
|
+
*/
|
|
945
|
+
function memberRoleText(member) {
|
|
946
|
+
if (member.role === "lead") return LEAD_ROLE_TEXT;
|
|
947
|
+
const description = member.description?.trim();
|
|
948
|
+
return description === void 0 || description === "" ? "teammate" : description;
|
|
949
|
+
}
|
|
950
|
+
/**
|
|
951
|
+
* A member's role on one line.
|
|
952
|
+
* @param member - the roster row.
|
|
953
|
+
* @returns {@link memberRoleText} with every run of whitespace, line breaks included, collapsed to one space.
|
|
954
|
+
*/
|
|
955
|
+
function roleOneLine(member) {
|
|
956
|
+
return memberRoleText(member).replace(/\s+/gu, " ");
|
|
957
|
+
}
|
|
958
|
+
/**
|
|
959
|
+
* How the activity board labels a roster member.
|
|
960
|
+
* @param member - the roster row.
|
|
961
|
+
* @returns `<name> · <role>`; the board cuts it to its own width.
|
|
962
|
+
*/
|
|
963
|
+
function memberLabel(member) {
|
|
964
|
+
return `${member.name} · ${roleOneLine(member)}`;
|
|
965
|
+
}
|
|
966
|
+
/**
|
|
967
|
+
* What the header and the view banner call an open teammate session.
|
|
968
|
+
* @param member - the teammate's roster row.
|
|
969
|
+
* @returns `teammate <name> · <role>`, with the role cut to {@link TEAMMATE_TITLE_ROLE_COLUMNS} columns and `…`.
|
|
970
|
+
*/
|
|
971
|
+
function teammateViewTitle(member) {
|
|
972
|
+
return `teammate ${member.name} · ${truncateToWidth(roleOneLine(member), 28, "…")}`;
|
|
973
|
+
}
|
|
1177
974
|
/**
|
|
1178
975
|
* Whether `Enter` opens this member as a continuable session.
|
|
1179
976
|
* @param member - the roster row.
|
|
@@ -1197,7 +994,7 @@ function memberDescription(member) {
|
|
|
1197
994
|
* @param member - the roster row.
|
|
1198
995
|
* @returns the detail page lines.
|
|
1199
996
|
*/
|
|
1200
|
-
function memberLines(member) {
|
|
997
|
+
function memberLines$1(member) {
|
|
1201
998
|
const lines = [
|
|
1202
999
|
member.name,
|
|
1203
1000
|
member.role,
|
|
@@ -1216,7 +1013,7 @@ function memberLines(member) {
|
|
|
1216
1013
|
* @param task - the task row.
|
|
1217
1014
|
* @returns the detail page lines.
|
|
1218
1015
|
*/
|
|
1219
|
-
function taskLines(task) {
|
|
1016
|
+
function taskLines$1(task) {
|
|
1220
1017
|
return [
|
|
1221
1018
|
task.id,
|
|
1222
1019
|
String(task.revision),
|
|
@@ -1280,7 +1077,7 @@ function teamBrowseRows(members, tasks) {
|
|
|
1280
1077
|
description: memberDescription(member)
|
|
1281
1078
|
},
|
|
1282
1079
|
heading: member.name,
|
|
1283
|
-
lines: memberLines(member),
|
|
1080
|
+
lines: memberLines$1(member),
|
|
1284
1081
|
...enterable ? { choice: teammateChoice(member) } : {}
|
|
1285
1082
|
};
|
|
1286
1083
|
});
|
|
@@ -1295,821 +1092,915 @@ function teamBrowseRows(members, tasks) {
|
|
|
1295
1092
|
description: `${task.status} · ${owner} · ${readiness}`
|
|
1296
1093
|
},
|
|
1297
1094
|
heading: task.subject,
|
|
1298
|
-
lines: taskLines(task)
|
|
1095
|
+
lines: taskLines$1(task)
|
|
1299
1096
|
});
|
|
1300
1097
|
}
|
|
1301
1098
|
return rows;
|
|
1302
1099
|
}
|
|
1303
1100
|
//#endregion
|
|
1304
|
-
//#region lib/types/
|
|
1101
|
+
//#region lib/types/team-play.js
|
|
1305
1102
|
/**
|
|
1306
|
-
*
|
|
1307
|
-
*
|
|
1103
|
+
* The team room: one alternate-screen page that shows every member of the
|
|
1104
|
+
* Agent Team with the role it plays and what it is doing now, the shared task
|
|
1105
|
+
* board, and the exchanges the bound session logged.
|
|
1308
1106
|
*
|
|
1309
|
-
*
|
|
1310
|
-
*
|
|
1311
|
-
*
|
|
1312
|
-
*
|
|
1313
|
-
*
|
|
1314
|
-
*
|
|
1315
|
-
*
|
|
1316
|
-
* Two rules hold for every call site. A motion changes what a line is drawn
|
|
1317
|
-
* with, never how many lines a docked component returns, because each docked
|
|
1318
|
-
* row raises the renderer's repaint boundary for good (`./screen.ts`). And a
|
|
1319
|
-
* settled motion draws exactly what the surface draws at rest, so a terminal
|
|
1320
|
-
* that runs no motion at all - reduced motion, a disabled palette, no color -
|
|
1321
|
-
* loses nothing but the lift.
|
|
1322
|
-
* @module @deepseek-ai/dsh-tui-app/motion
|
|
1107
|
+
* The application supplies the reads on every key and frame: the roster and
|
|
1108
|
+
* the tasks from the Agent Teams service, the exchanges from the bound
|
|
1109
|
+
* session's log, and what each child last narrated. `Enter` hands the
|
|
1110
|
+
* selected teammate's session back to the application, which opens it the
|
|
1111
|
+
* way `/team` does. Pure aside from the key state of {@link TeamPlay}.
|
|
1112
|
+
* @module @deepseek-ai/dsh-tui-app/team-play
|
|
1323
1113
|
*/
|
|
1324
|
-
/** Share of a motion drawn at its peak. */
|
|
1325
|
-
const PEAK_SHARE = 1 / 3;
|
|
1326
|
-
/** Share of a motion drawn lifted, the peak included. */
|
|
1327
|
-
const LIFTED_SHARE = 2 / 3;
|
|
1328
1114
|
/**
|
|
1329
|
-
*
|
|
1330
|
-
*
|
|
1115
|
+
* The page's legend in declared degradation steps, widest first. The page
|
|
1116
|
+
* is not a focus region, so it names its keys here the way the reader does.
|
|
1331
1117
|
*/
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1118
|
+
const TEAM_PLAY_HINTS = [
|
|
1119
|
+
"↑↓ member · Enter opens · f filters messages · PgUp PgDn scroll · Esc q closes",
|
|
1120
|
+
"↑↓ member · Enter opens · f filters · PgUp PgDn scroll · Esc closes",
|
|
1121
|
+
"↑↓ member · Enter opens · f filters · Esc closes",
|
|
1122
|
+
"↑↓ · Enter · f · Esc closes",
|
|
1123
|
+
"Esc q closes"
|
|
1124
|
+
];
|
|
1125
|
+
/** Drawn under the lead while the team has no teammate. */
|
|
1126
|
+
const TEAM_PLAY_EMPTY_HINT = "No teammates yet — ask for work that splits into independent parts and the lead will delegate it.";
|
|
1127
|
+
/** Rows above the first section: the heading, then the legend or a notice. */
|
|
1128
|
+
const HEADER_ROWS = 2;
|
|
1129
|
+
/** The `Members`, `Tasks`, and `Messages` title rows. */
|
|
1130
|
+
const SECTION_TITLES = 3;
|
|
1131
|
+
/** Rows the exchanges keep while members and tasks share what is left. */
|
|
1132
|
+
const MIN_MESSAGE_ROWS = 3;
|
|
1133
|
+
/** Lines the empty-team hint wraps to at most. */
|
|
1134
|
+
const HINT_MAX_LINES = 3;
|
|
1135
|
+
/** Columns a member name keeps at most. */
|
|
1136
|
+
const NAME_MAX_COLUMNS = 16;
|
|
1137
|
+
/** Columns a member name keeps at least, so short names still line the roles up. */
|
|
1138
|
+
const NAME_MIN_COLUMNS = 4;
|
|
1139
|
+
/** Share of the row beyond the name that a role may take. */
|
|
1140
|
+
const ROLE_SHARE = .4;
|
|
1141
|
+
/** Columns an owner name keeps at most in a task row. */
|
|
1142
|
+
const OWNER_MAX_COLUMNS = 16;
|
|
1143
|
+
/** Columns a task row spends beside the id, the subject, and the owner: the indent, the glyph, and the spaces around it. */
|
|
1144
|
+
const TASK_LEAD_COLUMNS = 5;
|
|
1145
|
+
/** Columns a task subject keeps however narrow the row is. */
|
|
1146
|
+
const MIN_SUBJECT_COLUMNS = 8;
|
|
1147
|
+
/** What a task without an owner names as its owner. */
|
|
1148
|
+
const UNOWNED = "unowned";
|
|
1149
|
+
/** What a session id that the roster does not list is called in a message row. */
|
|
1150
|
+
const UNKNOWN_MEMBER = "teammate";
|
|
1151
|
+
/** The text of a peer message that has no text block. */
|
|
1152
|
+
const NON_TEXT_MESSAGE = "(non-text message)";
|
|
1153
|
+
/** Fields of a `team/` record that hold an id, which no row uses as its text. */
|
|
1154
|
+
const IDENTIFIER_FIELDS = new Set([
|
|
1155
|
+
"id",
|
|
1156
|
+
"teamId",
|
|
1157
|
+
"messageId",
|
|
1158
|
+
"senderId",
|
|
1159
|
+
"targetId",
|
|
1160
|
+
"ownerId"
|
|
1161
|
+
]);
|
|
1162
|
+
/** The marker, its space, the status glyph, and its space. */
|
|
1163
|
+
const MEMBER_LEAD_COLUMNS = 4;
|
|
1164
|
+
/** Columns between two cells of one row. */
|
|
1165
|
+
const GAP = " ";
|
|
1166
|
+
/** Glyph of each member status; a running member animates instead while motion is on. */
|
|
1167
|
+
const MEMBER_GLYPH = {
|
|
1168
|
+
running: "●",
|
|
1169
|
+
inactive: "○",
|
|
1170
|
+
provisioning: "◌",
|
|
1171
|
+
failed: "✗"
|
|
1172
|
+
};
|
|
1173
|
+
/** Glyph of each task status; a deleted task is never drawn. */
|
|
1174
|
+
const TASK_GLYPH = {
|
|
1175
|
+
pending: "○",
|
|
1176
|
+
in_progress: "◐",
|
|
1177
|
+
completed: "✓",
|
|
1178
|
+
deleted: "✗"
|
|
1179
|
+
};
|
|
1180
|
+
/**
|
|
1181
|
+
* Exchanges recorded in one session log.
|
|
1182
|
+
*
|
|
1183
|
+
* A tool call is listed when its name is in `toolNames`, the names the Agent
|
|
1184
|
+
* Teams plugin currently scopes onto this agent, or when `toolNames` is
|
|
1185
|
+
* omitted and the arguments name a person or a task. Malformed tool arguments
|
|
1186
|
+
* still name the tool when it is in `toolNames`. A user message is listed
|
|
1187
|
+
* when its source is `agent-message` or its text begins `Team message from`.
|
|
1188
|
+
*
|
|
1189
|
+
* The Team Lead's `team/` records are authoritative, so they replace the rows
|
|
1190
|
+
* the same exchange would add from tool calls and received messages:
|
|
1191
|
+
* - `team/message/queued` is one message from its sender to its target; its
|
|
1192
|
+
* text blocks, whitespace collapsed, are the text. While the log has one,
|
|
1193
|
+
* `message` rows from tool calls and user messages are dropped.
|
|
1194
|
+
* `team/message/delivered` is a receipt and adds no row.
|
|
1195
|
+
* - `team/member` adds one spawn row per member, from its first record, unless
|
|
1196
|
+
* a spawn tool call for that name already did. A `failed` phase or an `error`
|
|
1197
|
+
* adds `<member> → <speaker>` with `failed: <error>`. Later phases add nothing.
|
|
1198
|
+
* - `team/task` adds one row per revision that changes the status or the owner,
|
|
1199
|
+
* captioned `<status> <subject>` to `board` from the owner, else from `speaker`.
|
|
1200
|
+
* Identical consecutive task records collapse. While the log has one,
|
|
1201
|
+
* `task` rows from tool calls are dropped.
|
|
1202
|
+
* - Any other `team/` type, including types a later plugin release adds, is
|
|
1203
|
+
* listed with the first string field that does not hold an id.
|
|
1204
|
+
*
|
|
1205
|
+
* A teammate's own log has no `team/` records, so its tool calls and received
|
|
1206
|
+
* messages are all listed.
|
|
1207
|
+
* @param events - the log events, oldest first.
|
|
1208
|
+
* @param speaker - the name of the session that logged the events.
|
|
1209
|
+
* @param toolNames - tool names scoped by the plugin. Omitted reads exchanges from call arguments.
|
|
1210
|
+
* @param names - member names by session id. An id missing from it reads `teammate`.
|
|
1211
|
+
* @returns the exchanges in log order.
|
|
1212
|
+
*/
|
|
1213
|
+
function beatsFromEvents(events, speaker, toolNames, names = /* @__PURE__ */ new Map()) {
|
|
1214
|
+
const calls = events.map((event) => event.type === "tool/call" ? beatFromCall(event.data, speaker, toolNames) : void 0);
|
|
1215
|
+
const spawnCalls = /* @__PURE__ */ new Set();
|
|
1216
|
+
for (const call of calls) if (call?.kind === "spawn") spawnCalls.add(call.to);
|
|
1217
|
+
const reading = {
|
|
1218
|
+
speaker,
|
|
1219
|
+
names,
|
|
1220
|
+
spawnCalls,
|
|
1221
|
+
peersRecorded: events.some((event) => event.type === "team/message/queued"),
|
|
1222
|
+
tasksRecorded: events.some((event) => event.type === "team/task"),
|
|
1223
|
+
members: /* @__PURE__ */ new Set(),
|
|
1224
|
+
taskStages: /* @__PURE__ */ new Map()
|
|
1225
|
+
};
|
|
1226
|
+
const beats = [];
|
|
1227
|
+
for (const [index, event] of events.entries()) for (const beat of beatsFromEvent(event, calls[index], reading)) {
|
|
1228
|
+
if (event.type === "team/task" && sameRow(beats.at(-1), beat)) continue;
|
|
1229
|
+
beats.push(beat);
|
|
1230
|
+
}
|
|
1231
|
+
return beats;
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* Draw the team room.
|
|
1235
|
+
*
|
|
1236
|
+
* Rows go to the heading and the legend first. Members and tasks keep what
|
|
1237
|
+
* they need up to {@link TEAM_PLAY_MAX_MEMBERS} and {@link TEAM_PLAY_MAX_TASKS}
|
|
1238
|
+
* rows, giving way to the exchanges, which keep at least a few rows and take
|
|
1239
|
+
* everything that is left. A section cut short ends in `+<n> more`; the
|
|
1240
|
+
* member list scrolls to keep the selected member in view.
|
|
1241
|
+
* @param draw - the reads, the key state, and the screen size.
|
|
1242
|
+
* @returns the lines, the clamped scroll offset, and the page size.
|
|
1243
|
+
*/
|
|
1244
|
+
function teamRoomFrame(draw) {
|
|
1245
|
+
const width = Math.max(draw.width, 1);
|
|
1246
|
+
const rows = Math.max(draw.rows, 1);
|
|
1247
|
+
const { palette, source } = draw;
|
|
1248
|
+
const fit = (line) => truncateToWidth(line, width, "…");
|
|
1249
|
+
const tasks = source.tasks.filter((task) => task.status !== "deleted");
|
|
1250
|
+
const selectedIndex = Math.max(source.members.findIndex((member) => member.id === draw.selected), 0);
|
|
1251
|
+
const selected = source.members[selectedIndex];
|
|
1252
|
+
const hint = source.members.some((member) => member.role === "teammate") ? [] : wrapTextWithAnsi(TEAM_PLAY_EMPTY_HINT, Math.max(width - 2, 1)).slice(0, HINT_MAX_LINES);
|
|
1253
|
+
const room = Math.max(rows - HEADER_ROWS, 0) - SECTION_TITLES - MIN_MESSAGE_ROWS - hint.length;
|
|
1254
|
+
const wantedMembers = Math.min(source.members.length, 8);
|
|
1255
|
+
const wantedTasks = Math.min(Math.max(tasks.length, 1), 8);
|
|
1256
|
+
const taskRows = clamp$1(room - wantedMembers, Math.min(wantedTasks, 2), wantedTasks);
|
|
1257
|
+
const memberRows = clamp$1(room - taskRows, Math.min(wantedMembers, 2), wantedMembers);
|
|
1258
|
+
const members = memberLines(draw, source.members, selectedIndex, memberRows);
|
|
1259
|
+
const lines = [
|
|
1260
|
+
fit(heading$1(palette, source.members, tasks)),
|
|
1261
|
+
fit(draw.notice === void 0 ? paintKeys(palette, fitLegend(TEAM_PLAY_HINTS, width)) : palette.warning(draw.notice)),
|
|
1262
|
+
fit(palette.heading("Members")),
|
|
1263
|
+
...members.lines.map(fit),
|
|
1264
|
+
...hint.map((line) => fit(palette.dim(` ${line}`))),
|
|
1265
|
+
fit(palette.heading("Tasks")),
|
|
1266
|
+
...taskLines(palette, tasks, taskRows, width).map(fit)
|
|
1267
|
+
];
|
|
1268
|
+
const focus = draw.filtered ? selected : void 0;
|
|
1269
|
+
const shown = focus === void 0 ? source.beats : source.beats.filter((beat) => involves(beat, focus.name));
|
|
1270
|
+
const messageRows = Math.max(rows - lines.length - 1, 0);
|
|
1271
|
+
const back = clamp$1(draw.back, 0, Math.max(shown.length - messageRows, 0));
|
|
1272
|
+
const end = shown.length - back;
|
|
1273
|
+
const start = Math.max(end - messageRows, 0);
|
|
1274
|
+
lines.push(fit(messagesTitle(palette, shown.length, {
|
|
1275
|
+
focus: focus?.name,
|
|
1276
|
+
earlier: start,
|
|
1277
|
+
later: back
|
|
1278
|
+
})));
|
|
1279
|
+
if (shown.length === 0) {
|
|
1280
|
+
const empty = focus === void 0 ? "No messages yet." : `No exchanges with ${focus.name} yet.`;
|
|
1281
|
+
lines.push(fit(palette.dim(` ${empty}`)));
|
|
1348
1282
|
}
|
|
1283
|
+
for (const beat of shown.slice(start, end)) lines.push(fit(beatLine(palette, beat)));
|
|
1284
|
+
while (lines.length < rows) lines.push("");
|
|
1285
|
+
return {
|
|
1286
|
+
lines: lines.slice(0, rows),
|
|
1287
|
+
back,
|
|
1288
|
+
page: Math.max(messageRows - 1, 1),
|
|
1289
|
+
animated: members.animated
|
|
1290
|
+
};
|
|
1291
|
+
}
|
|
1292
|
+
/**
|
|
1293
|
+
* The page that shows the team on the alternate screen.
|
|
1294
|
+
*/
|
|
1295
|
+
var TeamPlay = class {
|
|
1296
|
+
options;
|
|
1297
|
+
selected;
|
|
1298
|
+
filtered = false;
|
|
1299
|
+
back = 0;
|
|
1300
|
+
page = 1;
|
|
1301
|
+
animated = false;
|
|
1302
|
+
notice;
|
|
1349
1303
|
/**
|
|
1350
|
-
*
|
|
1351
|
-
* @returns the peak for the first third of the motion, the lifted level for
|
|
1352
|
-
* the second, and the settled level for the rest.
|
|
1304
|
+
* @param options - the palette and the reads the application supplies.
|
|
1353
1305
|
*/
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
if (progress < PEAK_SHARE) return 2;
|
|
1357
|
-
if (progress < LIFTED_SHARE) return 1;
|
|
1358
|
-
return 0;
|
|
1306
|
+
constructor(options) {
|
|
1307
|
+
this.options = options;
|
|
1359
1308
|
}
|
|
1360
1309
|
/**
|
|
1361
|
-
* Whether the
|
|
1362
|
-
*
|
|
1363
|
-
*
|
|
1310
|
+
* Whether the last frame drew a spinner, so the application keeps its tick
|
|
1311
|
+
* running only while a member works.
|
|
1312
|
+
* @returns true while a running member animates.
|
|
1364
1313
|
*/
|
|
1365
|
-
|
|
1366
|
-
return this.
|
|
1314
|
+
animates() {
|
|
1315
|
+
return this.animated;
|
|
1316
|
+
}
|
|
1317
|
+
/**
|
|
1318
|
+
* Answer one key. Any key takes down the notice the previous key raised.
|
|
1319
|
+
* @param data - the raw key bytes.
|
|
1320
|
+
* @returns what the application should do, or undefined when the page handled the key itself.
|
|
1321
|
+
*/
|
|
1322
|
+
handleInput(data) {
|
|
1323
|
+
this.notice = void 0;
|
|
1324
|
+
if (matchesKey(data, "escape") || data === "q") return { kind: "close" };
|
|
1325
|
+
if (data === "f") {
|
|
1326
|
+
this.filtered = !this.filtered;
|
|
1327
|
+
this.back = 0;
|
|
1328
|
+
return;
|
|
1329
|
+
}
|
|
1330
|
+
if (matchesKey(data, "pageUp")) {
|
|
1331
|
+
this.back += this.page;
|
|
1332
|
+
return;
|
|
1333
|
+
}
|
|
1334
|
+
if (matchesKey(data, "pageDown")) {
|
|
1335
|
+
this.back = Math.max(this.back - this.page, 0);
|
|
1336
|
+
return;
|
|
1337
|
+
}
|
|
1338
|
+
const step = matchesKey(data, "up") ? -1 : matchesKey(data, "down") ? 1 : 0;
|
|
1339
|
+
if (step !== 0) {
|
|
1340
|
+
this.select(step);
|
|
1341
|
+
return;
|
|
1342
|
+
}
|
|
1343
|
+
return matchesKey(data, "enter") ? this.open() : void 0;
|
|
1344
|
+
}
|
|
1345
|
+
/**
|
|
1346
|
+
* Draw the page.
|
|
1347
|
+
* @param width - the terminal columns.
|
|
1348
|
+
* @param rows - the terminal rows; the page returns this many lines.
|
|
1349
|
+
* @returns the frame.
|
|
1350
|
+
*/
|
|
1351
|
+
render(width, rows) {
|
|
1352
|
+
const frame = teamRoomFrame({
|
|
1353
|
+
palette: this.options.palette,
|
|
1354
|
+
source: this.options.source(),
|
|
1355
|
+
selected: this.selected,
|
|
1356
|
+
filtered: this.filtered,
|
|
1357
|
+
back: this.back,
|
|
1358
|
+
notice: this.notice,
|
|
1359
|
+
width,
|
|
1360
|
+
rows
|
|
1361
|
+
});
|
|
1362
|
+
this.back = frame.back;
|
|
1363
|
+
this.page = frame.page;
|
|
1364
|
+
this.animated = frame.animated;
|
|
1365
|
+
return frame.lines;
|
|
1366
|
+
}
|
|
1367
|
+
/**
|
|
1368
|
+
* Move the selection and show the exchanges from the newest again.
|
|
1369
|
+
* @param step - -1 for the member above, 1 for the member below.
|
|
1370
|
+
*/
|
|
1371
|
+
select(step) {
|
|
1372
|
+
const members = this.options.source().members;
|
|
1373
|
+
const index = Math.max(members.findIndex((member) => member.id === this.selected), 0);
|
|
1374
|
+
this.selected = members[clamp$1(index + step, 0, members.length - 1)]?.id;
|
|
1375
|
+
this.back = 0;
|
|
1376
|
+
}
|
|
1377
|
+
/**
|
|
1378
|
+
* Open the selected member as `/team` does, or say why nothing opens.
|
|
1379
|
+
* @returns the open action for a running or inactive teammate, otherwise undefined with the notice raised.
|
|
1380
|
+
*/
|
|
1381
|
+
open() {
|
|
1382
|
+
const members = this.options.source().members;
|
|
1383
|
+
const member = members.find((candidate) => candidate.id === this.selected) ?? members[0];
|
|
1384
|
+
if (member === void 0) return void 0;
|
|
1385
|
+
const entry = teamBrowseRows([member], [])[0];
|
|
1386
|
+
if (entry?.choice !== void 0) return {
|
|
1387
|
+
kind: "open",
|
|
1388
|
+
entry,
|
|
1389
|
+
choice: entry.choice
|
|
1390
|
+
};
|
|
1391
|
+
this.notice = unopenable(member);
|
|
1367
1392
|
}
|
|
1368
1393
|
};
|
|
1369
1394
|
/**
|
|
1370
|
-
*
|
|
1371
|
-
* @param
|
|
1372
|
-
* @
|
|
1373
|
-
* included; the settled level hands it straight back.
|
|
1374
|
-
* @param level - how far above that drawing to lift it.
|
|
1375
|
-
* @returns the text at the peak, lifted, or exactly as it settles.
|
|
1395
|
+
* Why `Enter` opens no session for a member.
|
|
1396
|
+
* @param member - the lead, a provisioning member, or a failed member.
|
|
1397
|
+
* @returns the one-line notice.
|
|
1376
1398
|
*/
|
|
1377
|
-
function
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
case 1: return palette.accent(text);
|
|
1381
|
-
case 0: return text;
|
|
1382
|
-
/* v8 ignore next 2 -- closed-union exhaustiveness guard */
|
|
1383
|
-
default: return assertNever(level, "tui motion level");
|
|
1384
|
-
}
|
|
1399
|
+
function unopenable(member) {
|
|
1400
|
+
if (member.role === "lead") return "the lead has no teammate session to open";
|
|
1401
|
+
return member.status === "provisioning" ? `${member.name} is still being created` : `${member.name} failed to start; /team lists its diagnostics`;
|
|
1385
1402
|
}
|
|
1386
|
-
/** Columns the ` ─ ` between the chip and the title takes. */
|
|
1387
|
-
const CHIP_MARGIN = 3;
|
|
1388
|
-
/** What opens a top rule. */
|
|
1389
|
-
const TOP_LEFT = "╭";
|
|
1390
|
-
/** What closes a top rule. */
|
|
1391
|
-
const TOP_RIGHT = "╮";
|
|
1392
|
-
/** What opens a bottom rule. */
|
|
1393
|
-
const BOTTOM_LEFT = "╰";
|
|
1394
|
-
/** What closes a bottom rule. */
|
|
1395
|
-
const BOTTOM_RIGHT = "╯";
|
|
1396
|
-
/** What opens a rule drawn between two parts of one frame. */
|
|
1397
|
-
const LEGEND_LEFT = "├";
|
|
1398
|
-
/** What closes a rule drawn between two parts of one frame. */
|
|
1399
|
-
const LEGEND_RIGHT = "┤";
|
|
1400
|
-
/** What a rule fills the width between its texts with. */
|
|
1401
|
-
const FILL = "─";
|
|
1402
|
-
/** The border drawn on each side of a body row. */
|
|
1403
|
-
const SIDE$1 = "│";
|
|
1404
|
-
/** What separates the chip from the title on a top rule. */
|
|
1405
|
-
const CHIP_JOIN = ` ${FILL} `;
|
|
1406
|
-
/** The mark the chip opens with, the one inverse block this surface draws. */
|
|
1407
|
-
const CHIP_MARK = "●";
|
|
1408
|
-
/** What ends a line the width cut short; one column, so the mark itself fits. */
|
|
1409
|
-
const ELLIPSIS$5 = "…";
|
|
1410
1403
|
/**
|
|
1411
|
-
*
|
|
1412
|
-
*
|
|
1413
|
-
* @param
|
|
1414
|
-
* @param
|
|
1415
|
-
* @returns
|
|
1404
|
+
* Keep a number inside a range.
|
|
1405
|
+
* @param value - the number.
|
|
1406
|
+
* @param low - the smallest allowed value.
|
|
1407
|
+
* @param high - the largest allowed value; a range that ends below `low` yields `high`.
|
|
1408
|
+
* @returns `value` limited to the range.
|
|
1416
1409
|
*/
|
|
1417
|
-
function
|
|
1418
|
-
return
|
|
1410
|
+
function clamp$1(value, low, high) {
|
|
1411
|
+
return Math.min(Math.max(value, low), high);
|
|
1419
1412
|
}
|
|
1420
1413
|
/**
|
|
1421
|
-
*
|
|
1422
|
-
* @param
|
|
1423
|
-
* @param
|
|
1424
|
-
* @
|
|
1414
|
+
* The heading row: the page name and the team's counts.
|
|
1415
|
+
* @param palette - the palette.
|
|
1416
|
+
* @param members - the roster.
|
|
1417
|
+
* @param tasks - the tasks that are not deleted.
|
|
1418
|
+
* @returns `team play · <n> teammates · <n> working · tasks <done>/<total> done`.
|
|
1419
|
+
*/
|
|
1420
|
+
function heading$1(palette, members, tasks) {
|
|
1421
|
+
const teammates = members.filter((member) => member.role === "teammate");
|
|
1422
|
+
const working = teammates.filter((member) => member.status === "running").length;
|
|
1423
|
+
const done = tasks.filter((task) => task.status === "completed").length;
|
|
1424
|
+
const counts = [
|
|
1425
|
+
`${String(teammates.length)} ${teammates.length === 1 ? "teammate" : "teammates"}`,
|
|
1426
|
+
`${String(working)} working`,
|
|
1427
|
+
`tasks ${String(done)}/${String(tasks.length)} done`
|
|
1428
|
+
].join(" · ");
|
|
1429
|
+
return `${palette.bold(palette.accent("team play"))} ${palette.dim(`· ${counts}`)}`;
|
|
1430
|
+
}
|
|
1431
|
+
/**
|
|
1432
|
+
* The member rows of one frame.
|
|
1433
|
+
* @param draw - the frame being drawn.
|
|
1434
|
+
* @param members - the roster.
|
|
1435
|
+
* @param selectedIndex - the selected row.
|
|
1436
|
+
* @param allowed - rows the section may take, the `+<n> more` row included.
|
|
1437
|
+
* @returns the lines and whether a running member drew a spinner frame.
|
|
1438
|
+
*/
|
|
1439
|
+
function memberLines(draw, members, selectedIndex, allowed) {
|
|
1440
|
+
const { palette, source } = draw;
|
|
1441
|
+
const view = rowWindow(members.length, allowed, selectedIndex);
|
|
1442
|
+
const names = members.map((member) => visibleWidth(member.name));
|
|
1443
|
+
const nameWidth = clamp$1(Math.max(...names, 0), NAME_MIN_COLUMNS, NAME_MAX_COLUMNS);
|
|
1444
|
+
const rest = Math.max(draw.width - MEMBER_LEAD_COLUMNS - nameWidth - 2, 0);
|
|
1445
|
+
const roles = members.map((member) => visibleWidth(memberRoleText(member)));
|
|
1446
|
+
const roleWidth = Math.min(Math.max(...roles, 0), Math.floor(rest * ROLE_SHARE));
|
|
1447
|
+
let animated = false;
|
|
1448
|
+
const lines = [];
|
|
1449
|
+
for (const [offset, member] of members.slice(view.start, view.start + view.count).entries()) {
|
|
1450
|
+
const index = view.start + offset;
|
|
1451
|
+
const frame = member.status === "running" ? source.spinner(index) : void 0;
|
|
1452
|
+
if (frame !== void 0) animated = true;
|
|
1453
|
+
const work = currentWork(member, source);
|
|
1454
|
+
const name = truncateToWidth(member.name, nameWidth, "…", true);
|
|
1455
|
+
const picked = index === selectedIndex;
|
|
1456
|
+
lines.push([
|
|
1457
|
+
picked ? palette.accent("▸") : " ",
|
|
1458
|
+
" ",
|
|
1459
|
+
paintStatus(palette, member.status, frame ?? MEMBER_GLYPH[member.status]),
|
|
1460
|
+
" ",
|
|
1461
|
+
picked ? palette.bold(palette.accent(name)) : palette.bold(name),
|
|
1462
|
+
GAP,
|
|
1463
|
+
palette.dim(truncateToWidth(memberRoleText(member), roleWidth, "…", true)),
|
|
1464
|
+
GAP,
|
|
1465
|
+
work.task ? work.text : palette.dim(work.text)
|
|
1466
|
+
].join(""));
|
|
1467
|
+
}
|
|
1468
|
+
if (view.hidden > 0) lines.push(palette.dim(` +${String(view.hidden)} more`));
|
|
1469
|
+
return {
|
|
1470
|
+
lines,
|
|
1471
|
+
animated
|
|
1472
|
+
};
|
|
1473
|
+
}
|
|
1474
|
+
/**
|
|
1475
|
+
* What a member is doing: the subject of the in-progress task it owns, else
|
|
1476
|
+
* its last narration, else its status word.
|
|
1477
|
+
* @param member - the roster row.
|
|
1478
|
+
* @param source - the reads of this frame.
|
|
1479
|
+
* @returns the text, and whether it is a task subject.
|
|
1480
|
+
*/
|
|
1481
|
+
function currentWork(member, source) {
|
|
1482
|
+
const owned = source.tasks.find((task) => task.status === "in_progress" && task.ownerName === member.name);
|
|
1483
|
+
if (owned !== void 0) return {
|
|
1484
|
+
text: owned.subject,
|
|
1485
|
+
task: true
|
|
1486
|
+
};
|
|
1487
|
+
const note = source.note(member.id);
|
|
1488
|
+
return {
|
|
1489
|
+
text: note === void 0 || note === "" ? member.status : note,
|
|
1490
|
+
task: false
|
|
1491
|
+
};
|
|
1492
|
+
}
|
|
1493
|
+
/**
|
|
1494
|
+
* Color a member's status glyph.
|
|
1495
|
+
* @param palette - the palette.
|
|
1496
|
+
* @param status - the member's status.
|
|
1497
|
+
* @param glyph - the glyph to draw, the current spinner frame for a running member.
|
|
1498
|
+
* @returns the colored glyph.
|
|
1425
1499
|
*/
|
|
1426
|
-
function
|
|
1427
|
-
|
|
1428
|
-
|
|
1500
|
+
function paintStatus(palette, status, glyph) {
|
|
1501
|
+
if (status === "running") return palette.warning(glyph);
|
|
1502
|
+
if (status === "failed") return palette.error(glyph);
|
|
1503
|
+
return palette.dim(glyph);
|
|
1429
1504
|
}
|
|
1430
1505
|
/**
|
|
1431
|
-
* The
|
|
1432
|
-
* @param
|
|
1433
|
-
* @param
|
|
1434
|
-
* @
|
|
1435
|
-
*
|
|
1506
|
+
* The task rows of one frame.
|
|
1507
|
+
* @param palette - the palette.
|
|
1508
|
+
* @param tasks - the tasks that are not deleted.
|
|
1509
|
+
* @param allowed - rows the section may take, the `+<n> more` row included.
|
|
1510
|
+
* @param width - the columns the rows fit.
|
|
1511
|
+
* @returns the lines, or one placeholder line when there is no task.
|
|
1512
|
+
*/
|
|
1513
|
+
function taskLines(palette, tasks, allowed, width) {
|
|
1514
|
+
if (tasks.length === 0) return [palette.dim(" No tasks yet.")];
|
|
1515
|
+
const view = rowWindow(tasks.length, allowed, 0);
|
|
1516
|
+
const shown = tasks.slice(view.start, view.start + view.count);
|
|
1517
|
+
const blockers = shown.map((task) => task.blockedBy.length === 0 ? "" : `blocked by ${task.blockedBy.map((id) => `#${id}`).join(", ")}`);
|
|
1518
|
+
const idWidth = Math.max(...shown.map((task) => visibleWidth(`#${task.id}`)));
|
|
1519
|
+
const ownerWidth = Math.min(Math.max(...shown.map((task) => visibleWidth(task.ownerName ?? UNOWNED))), OWNER_MAX_COLUMNS);
|
|
1520
|
+
const blockedWidth = Math.max(...blockers.map((text) => text === "" ? 0 : 2 + visibleWidth(text)));
|
|
1521
|
+
const subjectRoom = Math.max(width - TASK_LEAD_COLUMNS - idWidth - 2 - ownerWidth - blockedWidth, MIN_SUBJECT_COLUMNS);
|
|
1522
|
+
const subjectWidth = Math.min(Math.max(...shown.map((task) => visibleWidth(task.subject))), subjectRoom);
|
|
1523
|
+
const lines = shown.map((task, index) => {
|
|
1524
|
+
const blocked = blockers[index];
|
|
1525
|
+
const owner = truncateToWidth(task.ownerName ?? UNOWNED, ownerWidth, "…", blocked !== "");
|
|
1526
|
+
const subject = truncateToWidth(task.subject, subjectWidth, "…", true);
|
|
1527
|
+
return [
|
|
1528
|
+
" ",
|
|
1529
|
+
palette.dim(truncateToWidth(`#${task.id}`, idWidth, "…", true)),
|
|
1530
|
+
" ",
|
|
1531
|
+
paintTaskGlyph(palette, task.status),
|
|
1532
|
+
" ",
|
|
1533
|
+
task.status === "completed" ? palette.dim(subject) : subject,
|
|
1534
|
+
GAP,
|
|
1535
|
+
palette.dim(owner),
|
|
1536
|
+
blocked === "" ? "" : `${GAP}${palette.warning(blocked)}`
|
|
1537
|
+
].join("");
|
|
1538
|
+
});
|
|
1539
|
+
if (view.hidden > 0) lines.push(palette.dim(` +${String(view.hidden)} more`));
|
|
1540
|
+
return lines;
|
|
1541
|
+
}
|
|
1542
|
+
/**
|
|
1543
|
+
* Color a task's status glyph.
|
|
1544
|
+
* @param palette - the palette.
|
|
1545
|
+
* @param status - the task's status.
|
|
1546
|
+
* @returns the colored glyph.
|
|
1436
1547
|
*/
|
|
1437
|
-
function
|
|
1438
|
-
|
|
1439
|
-
|
|
1548
|
+
function paintTaskGlyph(palette, status) {
|
|
1549
|
+
const glyph = TASK_GLYPH[status];
|
|
1550
|
+
if (status === "completed") return palette.success(glyph);
|
|
1551
|
+
if (status === "in_progress") return palette.warning(glyph);
|
|
1552
|
+
return palette.dim(glyph);
|
|
1440
1553
|
}
|
|
1441
1554
|
/**
|
|
1442
|
-
*
|
|
1443
|
-
*
|
|
1444
|
-
*
|
|
1445
|
-
*
|
|
1446
|
-
* @param
|
|
1447
|
-
* @
|
|
1555
|
+
* The slice of a list one section shows.
|
|
1556
|
+
*
|
|
1557
|
+
* A list that fits shows every item. A longer list shows `allowed - 1` items
|
|
1558
|
+
* around the selection and gives the last row to the `+<n> more` count.
|
|
1559
|
+
* @param total - items in the list.
|
|
1560
|
+
* @param allowed - rows the section may take.
|
|
1561
|
+
* @param selected - the item to keep in view.
|
|
1562
|
+
* @returns the first shown index, how many are shown, and how many the rows leave out.
|
|
1563
|
+
*/
|
|
1564
|
+
function rowWindow(total, allowed, selected) {
|
|
1565
|
+
if (total <= allowed) return {
|
|
1566
|
+
start: 0,
|
|
1567
|
+
count: total,
|
|
1568
|
+
hidden: 0
|
|
1569
|
+
};
|
|
1570
|
+
const count = Math.max(allowed - 1, 1);
|
|
1571
|
+
return {
|
|
1572
|
+
start: clamp$1(selected - Math.floor(count / 2), 0, total - count),
|
|
1573
|
+
count,
|
|
1574
|
+
hidden: total - count
|
|
1575
|
+
};
|
|
1576
|
+
}
|
|
1577
|
+
/**
|
|
1578
|
+
* Whether an exchange has a member on either end.
|
|
1579
|
+
* @param beat - the exchange.
|
|
1580
|
+
* @param name - the member's name.
|
|
1581
|
+
* @returns true when the sender or the receiver is `name`, ignoring case.
|
|
1448
1582
|
*/
|
|
1449
|
-
function
|
|
1450
|
-
const
|
|
1451
|
-
|
|
1452
|
-
const paint = parts.tone === "focus" ? (text) => pulse(palette, palette.accent(text), level) : palette.dim;
|
|
1453
|
-
const leading = [chipText, parts.left ?? ""].filter((text) => text !== "").join(paint(CHIP_JOIN));
|
|
1454
|
-
const head = leading === "" ? paint(open) : `${paint(open)} ${leading} `;
|
|
1455
|
-
const right = parts.right ?? "";
|
|
1456
|
-
const tail = right === "" ? paint(close) : ` ${right} ${paint(close)}`;
|
|
1457
|
-
const room = width - visibleWidth(tail);
|
|
1458
|
-
const cut = room >= 1 ? truncateToWidth(head, room, ELLIPSIS$5) : "";
|
|
1459
|
-
return truncateToWidth(`${cut}${paint(FILL.repeat(Math.max(0, width - visibleWidth(cut) - visibleWidth(tail))))}${tail}`, width, ELLIPSIS$5);
|
|
1583
|
+
function involves(beat, name) {
|
|
1584
|
+
const wanted = name.toLowerCase();
|
|
1585
|
+
return beat.from.toLowerCase() === wanted || beat.to.toLowerCase() === wanted;
|
|
1460
1586
|
}
|
|
1461
1587
|
/**
|
|
1462
|
-
* The
|
|
1463
|
-
* @param
|
|
1464
|
-
*
|
|
1465
|
-
* @
|
|
1588
|
+
* The `Messages` title with its counts.
|
|
1589
|
+
* @param palette - the palette.
|
|
1590
|
+
* @param total - exchanges after any filter.
|
|
1591
|
+
* @param place - the member the list is narrowed to, and how many exchanges lie above and below the view.
|
|
1592
|
+
* @returns the title row.
|
|
1466
1593
|
*/
|
|
1467
|
-
function
|
|
1468
|
-
const
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
}
|
|
1594
|
+
function messagesTitle(palette, total, place) {
|
|
1595
|
+
const facts = [String(total)];
|
|
1596
|
+
if (place.focus !== void 0) facts.unshift(`with ${place.focus}`);
|
|
1597
|
+
if (place.earlier > 0) facts.push(`${String(place.earlier)} earlier`);
|
|
1598
|
+
if (place.later > 0) facts.push(`${String(place.later)} later`);
|
|
1599
|
+
return `${palette.heading("Messages")} ${palette.dim(`· ${facts.join(" · ")}`)}`;
|
|
1473
1600
|
}
|
|
1474
1601
|
/**
|
|
1475
|
-
*
|
|
1476
|
-
* @param
|
|
1477
|
-
* @
|
|
1602
|
+
* One exchange as a single line.
|
|
1603
|
+
* @param palette - the palette.
|
|
1604
|
+
* @param beat - the exchange.
|
|
1605
|
+
* @returns `<from> → <to> <kind>: <text>` with the text on one line.
|
|
1478
1606
|
*/
|
|
1479
|
-
function
|
|
1480
|
-
|
|
1607
|
+
function beatLine(palette, beat) {
|
|
1608
|
+
const text = beat.text.replace(/\s+/gu, " ");
|
|
1609
|
+
return ` ${palette.accent(beat.from)} ${palette.dim("→")} ${palette.success(beat.to)}${GAP}${palette.dim(`${beat.kind}:`)} ${text}`;
|
|
1481
1610
|
}
|
|
1482
1611
|
/**
|
|
1483
|
-
*
|
|
1484
|
-
*
|
|
1485
|
-
* @param
|
|
1486
|
-
* @
|
|
1612
|
+
* The rows one event adds.
|
|
1613
|
+
* @param event - the log event.
|
|
1614
|
+
* @param call - the row `event` adds as a tool call, if any.
|
|
1615
|
+
* @param reading - the log-wide facts and the state of the pass.
|
|
1616
|
+
* @returns no row for an event that is not an exchange or that a `team/` record already lists.
|
|
1487
1617
|
*/
|
|
1488
|
-
function
|
|
1489
|
-
return
|
|
1618
|
+
function beatsFromEvent(event, call, reading) {
|
|
1619
|
+
if (event.type === "tool/call") return call === void 0 || supersededCall(call, reading) ? [] : [call];
|
|
1620
|
+
if (event.type.startsWith("team/")) return beatsFromTeam(event.type, event.data, reading);
|
|
1621
|
+
if (event.type !== "user/message" || reading.peersRecorded) return [];
|
|
1622
|
+
const received = beatFromUser(event.data, reading.speaker);
|
|
1623
|
+
return received === void 0 ? [] : [received];
|
|
1490
1624
|
}
|
|
1491
1625
|
/**
|
|
1492
|
-
*
|
|
1493
|
-
*
|
|
1494
|
-
*
|
|
1495
|
-
*
|
|
1496
|
-
* @param content - the row, already styled and already wrapped.
|
|
1497
|
-
* @param width - the columns the line must fit.
|
|
1498
|
-
* @param palette - the palette the borders are styled with.
|
|
1499
|
-
* @param tone - which role those borders take.
|
|
1500
|
-
* @param level - how far above its settled drawing the borders are lifted, so
|
|
1501
|
-
* the whole outline of a frame moves as one; `0` draws the settled borders.
|
|
1502
|
-
* @returns the line, exactly `width` columns while both borders fit.
|
|
1626
|
+
* Whether the log's `team/` records list the exchange a tool call made.
|
|
1627
|
+
* @param call - the row the call adds.
|
|
1628
|
+
* @param reading - the log-wide facts.
|
|
1629
|
+
* @returns true for a message or task call while the matching record type is in the log.
|
|
1503
1630
|
*/
|
|
1504
|
-
function
|
|
1505
|
-
|
|
1506
|
-
const columns = Math.max(1, width);
|
|
1507
|
-
const room = columns - 4;
|
|
1508
|
-
if (room < 1) return truncateToWidth(`${border} ${content}`, columns, ELLIPSIS$5);
|
|
1509
|
-
const cut = truncateToWidth(content, room, ELLIPSIS$5);
|
|
1510
|
-
return `${border} ${cut}${" ".repeat(Math.max(0, room - visibleWidth(cut)))} ${border}`;
|
|
1631
|
+
function supersededCall(call, reading) {
|
|
1632
|
+
return call.kind === "message" && reading.peersRecorded || call.kind === "task" && reading.tasksRecorded;
|
|
1511
1633
|
}
|
|
1512
|
-
//#endregion
|
|
1513
|
-
//#region lib/types/keys.js
|
|
1514
1634
|
/**
|
|
1515
|
-
*
|
|
1516
|
-
*
|
|
1517
|
-
*
|
|
1518
|
-
*
|
|
1519
|
-
* reserves, and the lines `/help` lists per region.
|
|
1520
|
-
*
|
|
1521
|
-
* Pure. It reads key bytes and returns actions, so the application owns every
|
|
1522
|
-
* effect and the whole map is decided without a terminal, a palette, or a
|
|
1523
|
-
* clock.
|
|
1524
|
-
* @module @deepseek-ai/dsh-tui-app/keys
|
|
1635
|
+
* Whether two rows read the same.
|
|
1636
|
+
* @param previous - the row before, if any.
|
|
1637
|
+
* @param beat - the next row.
|
|
1638
|
+
* @returns true when both rows have the same sender, receiver, kind, and text.
|
|
1525
1639
|
*/
|
|
1526
|
-
|
|
1527
|
-
|
|
1640
|
+
function sameRow(previous, beat) {
|
|
1641
|
+
return previous?.from === beat.from && previous.to === beat.to && previous.kind === beat.kind && previous.text === beat.text;
|
|
1642
|
+
}
|
|
1528
1643
|
/**
|
|
1529
|
-
* The
|
|
1530
|
-
* @param
|
|
1531
|
-
* @
|
|
1644
|
+
* The member a session id names.
|
|
1645
|
+
* @param id - the session id, if the record has one.
|
|
1646
|
+
* @param names - member names by session id.
|
|
1647
|
+
* @returns the name, or undefined when `id` is absent or not in `names`.
|
|
1532
1648
|
*/
|
|
1533
|
-
function
|
|
1534
|
-
|
|
1535
|
-
if (kitty !== void 0) return kitty;
|
|
1536
|
-
return CONTROL_CHARACTERS.test(data) ? void 0 : data;
|
|
1649
|
+
function knownName(id, names) {
|
|
1650
|
+
return id === void 0 ? void 0 : names.get(id);
|
|
1537
1651
|
}
|
|
1538
1652
|
/**
|
|
1539
|
-
* The
|
|
1540
|
-
*
|
|
1541
|
-
*
|
|
1542
|
-
*
|
|
1543
|
-
* The editor draws no legend of its own: the unfocused status bar names the
|
|
1544
|
-
* keys that leave it.
|
|
1653
|
+
* The member a session id names.
|
|
1654
|
+
* @param id - the session id, if the record has one.
|
|
1655
|
+
* @param names - member names by session id.
|
|
1656
|
+
* @returns the name, or `teammate` when `id` is absent or not in `names`.
|
|
1545
1657
|
*/
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
"↑↓ sections · ←→ parts · Space folds · Ctrl+G reader · Esc input",
|
|
1550
|
-
"↑↓ ←→ · Space folds · Esc input",
|
|
1551
|
-
"Esc input"
|
|
1552
|
-
],
|
|
1553
|
-
queue: [
|
|
1554
|
-
"↑↓ select · Enter steer · E edit · I inject · Esc input",
|
|
1555
|
-
"↑↓ · Enter steer · E edit · Esc input",
|
|
1556
|
-
"Esc input"
|
|
1557
|
-
],
|
|
1558
|
-
panel: [
|
|
1559
|
-
"↑↓ children · Enter opens · Tab regions · Esc input",
|
|
1560
|
-
"↑↓ children · Esc input",
|
|
1561
|
-
"Esc input"
|
|
1562
|
-
],
|
|
1563
|
-
bar: [
|
|
1564
|
-
"←→ segments · Enter details · Tab regions · Esc input",
|
|
1565
|
-
"←→ segments · Esc input",
|
|
1566
|
-
"Esc input"
|
|
1567
|
-
]
|
|
1568
|
-
};
|
|
1658
|
+
function memberName(id, names) {
|
|
1659
|
+
return knownName(id, names) ?? UNKNOWN_MEMBER;
|
|
1660
|
+
}
|
|
1569
1661
|
/**
|
|
1570
|
-
*
|
|
1571
|
-
*
|
|
1572
|
-
*
|
|
1573
|
-
*
|
|
1662
|
+
* One tool call as an exchange.
|
|
1663
|
+
* @param data - the tool-call data.
|
|
1664
|
+
* @param speaker - the caller.
|
|
1665
|
+
* @param toolNames - names the plugin currently scopes onto the agent. When set, only those calls play.
|
|
1666
|
+
* @returns the exchange, or undefined when the call is not one this page plays.
|
|
1574
1667
|
*/
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
"
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
}
|
|
1590
|
-
/** The two keys that leave the input when no follow-up waits. */
|
|
1591
|
-
const ENTRY_KEYS = "Shift+↑ read · Shift+↓ status";
|
|
1592
|
-
/** The same pair while follow-ups wait: Shift+↑ selects one instead of reading. */
|
|
1593
|
-
const QUEUE_ENTRY_KEYS = "Shift+↑ select · Shift+↓ status";
|
|
1668
|
+
function beatFromCall(data, speaker, toolNames) {
|
|
1669
|
+
const call = fields(data);
|
|
1670
|
+
const name = typeof call?.name === "string" ? call.name : void 0;
|
|
1671
|
+
if (name === void 0) return void 0;
|
|
1672
|
+
const args = argumentsOf(call?.arguments);
|
|
1673
|
+
const scoped = toolNames !== void 0 && toolNames.has(name);
|
|
1674
|
+
const summary = summarizeCall(name, args);
|
|
1675
|
+
if (!scoped && !summary.addressed) return void 0;
|
|
1676
|
+
return {
|
|
1677
|
+
from: speaker,
|
|
1678
|
+
to: summary.to,
|
|
1679
|
+
kind: summary.kind,
|
|
1680
|
+
text: summary.text
|
|
1681
|
+
};
|
|
1682
|
+
}
|
|
1594
1683
|
/**
|
|
1595
|
-
* The
|
|
1596
|
-
*
|
|
1597
|
-
*
|
|
1684
|
+
* The receiver, the caption, and the kind of one tool call.
|
|
1685
|
+
* Argument keys are the ones a coordination call uses; a plugin tool with
|
|
1686
|
+
* other string fields still captions itself with the first of those fields
|
|
1687
|
+
* when the tool name is in the scoped set.
|
|
1688
|
+
* @param name - the tool name.
|
|
1689
|
+
* @param args - parsed arguments, omitted when they were not a JSON object.
|
|
1690
|
+
* @returns the lane fields, and whether the arguments themselves name an exchange.
|
|
1598
1691
|
*/
|
|
1599
|
-
|
|
1692
|
+
function summarizeCall(name, args) {
|
|
1693
|
+
const target = text(args?.target);
|
|
1694
|
+
const teammate = text(args?.name);
|
|
1695
|
+
const prompt = text(args?.prompt);
|
|
1696
|
+
const message = text(args?.message);
|
|
1697
|
+
const subject = text(args?.subject);
|
|
1698
|
+
const action = text(args?.action);
|
|
1699
|
+
const addressed = target !== void 0 || teammate !== void 0 || message !== void 0 || prompt !== void 0 || subject !== void 0 || action !== void 0;
|
|
1700
|
+
if (subject !== void 0 || action !== void 0) {
|
|
1701
|
+
const caption = [action, subject].filter((part) => part !== void 0).join(" ");
|
|
1702
|
+
return {
|
|
1703
|
+
addressed,
|
|
1704
|
+
to: target ?? "board",
|
|
1705
|
+
kind: "task",
|
|
1706
|
+
text: caption
|
|
1707
|
+
};
|
|
1708
|
+
}
|
|
1709
|
+
if (prompt !== void 0 && target === void 0) return {
|
|
1710
|
+
addressed,
|
|
1711
|
+
to: teammate ?? "team",
|
|
1712
|
+
kind: "spawn",
|
|
1713
|
+
text: prompt
|
|
1714
|
+
};
|
|
1715
|
+
if (message !== void 0 || target !== void 0) return {
|
|
1716
|
+
addressed,
|
|
1717
|
+
to: target ?? teammate ?? "team",
|
|
1718
|
+
kind: "message",
|
|
1719
|
+
text: message ?? name
|
|
1720
|
+
};
|
|
1721
|
+
const extra = args === void 0 ? void 0 : Object.entries(args).find((entry) => typeof entry[1] === "string");
|
|
1722
|
+
return {
|
|
1723
|
+
addressed,
|
|
1724
|
+
to: "team",
|
|
1725
|
+
kind: "message",
|
|
1726
|
+
text: extra === void 0 ? name : `${extra[0]}: ${extra[1]}`
|
|
1727
|
+
};
|
|
1728
|
+
}
|
|
1600
1729
|
/**
|
|
1601
|
-
* The
|
|
1602
|
-
*
|
|
1603
|
-
*
|
|
1604
|
-
*
|
|
1605
|
-
* @param
|
|
1606
|
-
* @
|
|
1730
|
+
* The rows one `team/` event adds. Member, task, and message records keep
|
|
1731
|
+
* their lane; any other team event is listed with the first string it carries
|
|
1732
|
+
* that is not an id, or the event type.
|
|
1733
|
+
* @param type - the event type, including the `team/` prefix.
|
|
1734
|
+
* @param data - the event data.
|
|
1735
|
+
* @param reading - the log-wide facts and the state of the pass.
|
|
1736
|
+
* @returns the rows; none for a delivery receipt or a repeated member or task state.
|
|
1607
1737
|
*/
|
|
1608
|
-
function
|
|
1609
|
-
|
|
1738
|
+
function beatsFromTeam(type, data, reading) {
|
|
1739
|
+
const label = type.slice(5);
|
|
1740
|
+
const root = fields(data) ?? {};
|
|
1741
|
+
switch (type) {
|
|
1742
|
+
case "team/member": return memberBeats(root, label, reading);
|
|
1743
|
+
case "team/task": return taskBeats(root, label, reading);
|
|
1744
|
+
case "team/message/queued": return [queuedBeat(root, reading)];
|
|
1745
|
+
case "team/message/delivered": return [];
|
|
1746
|
+
default: return [futureBeat(root, label, reading.speaker)];
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
/**
|
|
1750
|
+
* The rows one `team/member` record adds.
|
|
1751
|
+
* @param root - the record data.
|
|
1752
|
+
* @param label - the event type without the `team/` prefix.
|
|
1753
|
+
* @param reading - the log-wide facts and the state of the pass.
|
|
1754
|
+
* @returns the spawn row when this is the member's first record and no spawn
|
|
1755
|
+
* tool call lists the member, then the failure row when the record is failed
|
|
1756
|
+
* or carries an error.
|
|
1757
|
+
*/
|
|
1758
|
+
function memberBeats(root, label, reading) {
|
|
1759
|
+
const member = fields(root.member) ?? {};
|
|
1760
|
+
const id = text(member.id);
|
|
1761
|
+
const name = text(member.name) ?? memberName(id, reading.names);
|
|
1762
|
+
const phase = text(member.phase);
|
|
1763
|
+
const error = text(member.error);
|
|
1764
|
+
const key = id ?? name;
|
|
1765
|
+
const first = !reading.members.has(key);
|
|
1766
|
+
reading.members.add(key);
|
|
1767
|
+
const beats = [];
|
|
1768
|
+
if (first && !reading.spawnCalls.has(name)) beats.push({
|
|
1769
|
+
from: reading.speaker,
|
|
1770
|
+
to: name,
|
|
1771
|
+
kind: "spawn",
|
|
1772
|
+
text: phase ?? label
|
|
1773
|
+
});
|
|
1774
|
+
if (phase === "failed" || error !== void 0) beats.push({
|
|
1775
|
+
from: name,
|
|
1776
|
+
to: reading.speaker,
|
|
1777
|
+
kind: "spawn",
|
|
1778
|
+
text: error === void 0 ? "failed" : `failed: ${error}`
|
|
1779
|
+
});
|
|
1780
|
+
return beats;
|
|
1610
1781
|
}
|
|
1611
|
-
entryHints();
|
|
1612
1782
|
/**
|
|
1613
|
-
* The
|
|
1614
|
-
* @param
|
|
1615
|
-
* @
|
|
1616
|
-
*
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1783
|
+
* The row one `team/task` record adds.
|
|
1784
|
+
* @param root - the record data.
|
|
1785
|
+
* @param label - the event type without the `team/` prefix.
|
|
1786
|
+
* @param reading - the log-wide facts and the state of the pass.
|
|
1787
|
+
* @returns the row, from the owner when the roster names it, else from the
|
|
1788
|
+
* speaker; none when the revision keeps the task's status and owner.
|
|
1789
|
+
*/
|
|
1790
|
+
function taskBeats(root, label, reading) {
|
|
1791
|
+
const task = fields(root.task) ?? {};
|
|
1792
|
+
const id = text(task.id);
|
|
1793
|
+
const status = text(task.status);
|
|
1794
|
+
const subject = text(task.subject);
|
|
1795
|
+
const ownerId = text(task.ownerId);
|
|
1796
|
+
const stage = `${status ?? ""}/${ownerId ?? ""}`;
|
|
1797
|
+
if (id !== void 0) {
|
|
1798
|
+
if (reading.taskStages.get(id) === stage) return [];
|
|
1799
|
+
reading.taskStages.set(id, stage);
|
|
1800
|
+
}
|
|
1801
|
+
const caption = subject !== void 0 && status !== void 0 ? `${status} ${subject}` : subject ?? status ?? label;
|
|
1802
|
+
return [{
|
|
1803
|
+
from: knownName(ownerId, reading.names) ?? reading.speaker,
|
|
1804
|
+
to: "board",
|
|
1805
|
+
kind: "task",
|
|
1806
|
+
text: caption
|
|
1807
|
+
}];
|
|
1620
1808
|
}
|
|
1621
1809
|
/**
|
|
1622
|
-
*
|
|
1623
|
-
*
|
|
1624
|
-
*
|
|
1625
|
-
*
|
|
1626
|
-
* nowhere else. This is the screen's summary, not the complete map; the
|
|
1627
|
-
* package README carries every binding.
|
|
1810
|
+
* The row one `team/message/queued` record adds.
|
|
1811
|
+
* @param root - the record data.
|
|
1812
|
+
* @param reading - the log-wide facts.
|
|
1813
|
+
* @returns the message from its sender to its target, with the text blocks of its content on one line.
|
|
1628
1814
|
*/
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
"Ctrl+B moves running tool calls to the background · /jobs lists them",
|
|
1640
|
-
"Esc arms the stop · Esc again stops the turn · Esc cancels a running /compact",
|
|
1641
|
-
"Ctrl+C clears the input, twice quits · Ctrl+D quits an empty input"
|
|
1642
|
-
],
|
|
1643
|
-
transcript: [widestHint("transcript"), "Shift+↑↓ blocks · PgUp PgDn turns · Home End ends · Tab regions · Enter reads"],
|
|
1644
|
-
queue: [widestHint("queue")],
|
|
1645
|
-
panel: [widestHint("panel")],
|
|
1646
|
-
bar: [widestHint("bar")]
|
|
1647
|
-
};
|
|
1648
|
-
/** `Escape`, which every region answers. */
|
|
1649
|
-
const ESCAPE = { kind: "escape" };
|
|
1650
|
-
/** `Ctrl+O`, which every region answers. */
|
|
1651
|
-
const FOLD_ALL = { kind: "fold-all" };
|
|
1652
|
-
/** `Ctrl+G`, which every region answers. */
|
|
1653
|
-
const READER = { kind: "reader" };
|
|
1654
|
-
/** `Enter` on the held section, row, or segment. */
|
|
1655
|
-
const OPEN = { kind: "open" };
|
|
1815
|
+
function queuedBeat(root, reading) {
|
|
1816
|
+
const message = fields(root.message) ?? {};
|
|
1817
|
+
const said = textBlocks(message.content).join(" ").replace(/\s+/gu, " ").trim();
|
|
1818
|
+
return {
|
|
1819
|
+
from: text(message.senderName) ?? memberName(text(message.senderId), reading.names),
|
|
1820
|
+
to: memberName(text(message.targetId), reading.names),
|
|
1821
|
+
kind: "message",
|
|
1822
|
+
text: said === "" ? NON_TEXT_MESSAGE : said
|
|
1823
|
+
};
|
|
1824
|
+
}
|
|
1656
1825
|
/**
|
|
1657
|
-
*
|
|
1658
|
-
*
|
|
1659
|
-
*
|
|
1660
|
-
*
|
|
1661
|
-
* the
|
|
1662
|
-
* @param region - the region holding the keyboard.
|
|
1663
|
-
* @param data - the raw key bytes.
|
|
1664
|
-
* @returns the action to apply, or undefined when this region claims nothing
|
|
1665
|
-
* for the key: the editor lets pi-tui's own editor have it, and a docked
|
|
1666
|
-
* region consumes it without effect.
|
|
1826
|
+
* The row for a `team/` event type that this page does not know.
|
|
1827
|
+
* @param root - the event data.
|
|
1828
|
+
* @param label - the event type without the `team/` prefix.
|
|
1829
|
+
* @param speaker - the session that logged the event.
|
|
1830
|
+
* @returns a message row captioned with the first string field that does not hold an id, else the label.
|
|
1667
1831
|
*/
|
|
1668
|
-
function
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
case "transcript": return transcriptKey(data);
|
|
1679
|
-
case "queue": return queueKey(data);
|
|
1680
|
-
case "panel": return panelKey(data);
|
|
1681
|
-
case "bar": return barKey(data);
|
|
1682
|
-
/* v8 ignore next 2 -- closed-union exhaustiveness guard */
|
|
1683
|
-
default: return assertNever(region, "tui focus region");
|
|
1684
|
-
}
|
|
1832
|
+
function futureBeat(root, label, speaker) {
|
|
1833
|
+
const nested = fields(root.member) ?? fields(root.task) ?? fields(root.message) ?? root;
|
|
1834
|
+
const who = text(nested.name) ?? text(nested.senderName) ?? text(nested.subject) ?? "team";
|
|
1835
|
+
const first = Object.entries(nested).find((entry) => !IDENTIFIER_FIELDS.has(entry[0]) && typeof entry[1] === "string" && entry[1].trim() !== "")?.[1];
|
|
1836
|
+
return {
|
|
1837
|
+
from: speaker,
|
|
1838
|
+
to: who,
|
|
1839
|
+
kind: "message",
|
|
1840
|
+
text: text(nested.phase) ?? text(nested.status) ?? text(nested.message) ?? text(nested.text) ?? first ?? label
|
|
1841
|
+
};
|
|
1685
1842
|
}
|
|
1686
1843
|
/**
|
|
1687
|
-
*
|
|
1688
|
-
*
|
|
1689
|
-
*
|
|
1690
|
-
* the subagent panel or the status bar below. `Up` is offered to the newest
|
|
1691
|
-
* follow-up first, and reaches the editor's history when none is taken.
|
|
1692
|
-
* @param data - the raw key bytes.
|
|
1693
|
-
* @returns the action, or undefined for every key pi-tui's editor owns.
|
|
1844
|
+
* The text blocks of message content.
|
|
1845
|
+
* @param content - the logged content blocks.
|
|
1846
|
+
* @returns the text of each text block in order; none when `content` is not an array.
|
|
1694
1847
|
*/
|
|
1695
|
-
function
|
|
1696
|
-
if (
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
direction: "down"
|
|
1704
|
-
};
|
|
1705
|
-
if (matchesKey(data, "ctrl+s")) return { kind: "steer" };
|
|
1706
|
-
if (matchesKey(data, "shift+tab")) return { kind: "effort" };
|
|
1707
|
-
if (data === "?") return { kind: "help" };
|
|
1848
|
+
function textBlocks(content) {
|
|
1849
|
+
if (!Array.isArray(content)) return [];
|
|
1850
|
+
const parts = [];
|
|
1851
|
+
for (const block of content) {
|
|
1852
|
+
const row = fields(block);
|
|
1853
|
+
if (row?.type === "text" && typeof row.text === "string") parts.push(row.text);
|
|
1854
|
+
}
|
|
1855
|
+
return parts;
|
|
1708
1856
|
}
|
|
1709
1857
|
/**
|
|
1710
|
-
*
|
|
1711
|
-
*
|
|
1712
|
-
*
|
|
1858
|
+
* A received team message as an exchange aimed at `speaker`.
|
|
1859
|
+
* @param data - the user-message data.
|
|
1860
|
+
* @param speaker - the session that received the message.
|
|
1861
|
+
* @returns the exchange, or undefined when the text is not a team message.
|
|
1713
1862
|
*/
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
{
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
},
|
|
1735
|
-
{
|
|
1736
|
-
key: "pageUp",
|
|
1737
|
-
axis: "turn",
|
|
1738
|
-
to: "previous"
|
|
1739
|
-
},
|
|
1740
|
-
{
|
|
1741
|
-
key: "pageDown",
|
|
1742
|
-
axis: "turn",
|
|
1743
|
-
to: "next"
|
|
1744
|
-
},
|
|
1745
|
-
{
|
|
1746
|
-
key: "home",
|
|
1747
|
-
axis: "section",
|
|
1748
|
-
to: "first"
|
|
1749
|
-
},
|
|
1750
|
-
{
|
|
1751
|
-
key: "end",
|
|
1752
|
-
axis: "section",
|
|
1753
|
-
to: "last"
|
|
1754
|
-
},
|
|
1755
|
-
{
|
|
1756
|
-
key: "left",
|
|
1757
|
-
axis: "part",
|
|
1758
|
-
to: "previous"
|
|
1759
|
-
},
|
|
1760
|
-
{
|
|
1761
|
-
key: "right",
|
|
1762
|
-
axis: "part",
|
|
1763
|
-
to: "next"
|
|
1764
|
-
},
|
|
1765
|
-
{
|
|
1766
|
-
key: "shift+left",
|
|
1767
|
-
axis: "part",
|
|
1768
|
-
to: "first"
|
|
1769
|
-
},
|
|
1770
|
-
{
|
|
1771
|
-
key: "shift+right",
|
|
1772
|
-
axis: "part",
|
|
1773
|
-
to: "last"
|
|
1774
|
-
}
|
|
1775
|
-
];
|
|
1776
|
-
/** The pending-prompt panel's movement keys. */
|
|
1777
|
-
const QUEUE_MOVES = [
|
|
1778
|
-
{
|
|
1779
|
-
key: "up",
|
|
1780
|
-
axis: "prompt",
|
|
1781
|
-
to: "previous"
|
|
1782
|
-
},
|
|
1783
|
-
{
|
|
1784
|
-
key: "down",
|
|
1785
|
-
axis: "prompt",
|
|
1786
|
-
to: "next"
|
|
1787
|
-
},
|
|
1788
|
-
{
|
|
1789
|
-
key: "home",
|
|
1790
|
-
axis: "prompt",
|
|
1791
|
-
to: "first"
|
|
1792
|
-
},
|
|
1793
|
-
{
|
|
1794
|
-
key: "end",
|
|
1795
|
-
axis: "prompt",
|
|
1796
|
-
to: "last"
|
|
1797
|
-
}
|
|
1798
|
-
];
|
|
1863
|
+
function beatFromUser(data, speaker) {
|
|
1864
|
+
const message = fields(fields(data)?.message);
|
|
1865
|
+
const body = textBlocks(message?.content).join("");
|
|
1866
|
+
const matched = /^Team message from ([^:]+):\s*([\s\S]*)$/u.exec(body);
|
|
1867
|
+
const named = matched?.[1]?.trim();
|
|
1868
|
+
const said = matched?.[2]?.trim();
|
|
1869
|
+
if (named !== void 0 && named !== "" && said !== void 0 && said !== "") return {
|
|
1870
|
+
from: named,
|
|
1871
|
+
to: speaker,
|
|
1872
|
+
kind: "message",
|
|
1873
|
+
text: said
|
|
1874
|
+
};
|
|
1875
|
+
const source = fields(message?.source);
|
|
1876
|
+
if (source?.kind === "agent-message" && body !== "") return {
|
|
1877
|
+
from: text(source.senderName) ?? "teammate",
|
|
1878
|
+
to: speaker,
|
|
1879
|
+
kind: "message",
|
|
1880
|
+
text: body
|
|
1881
|
+
};
|
|
1882
|
+
}
|
|
1799
1883
|
/**
|
|
1800
|
-
*
|
|
1801
|
-
*
|
|
1884
|
+
* Parse tool arguments, skipping text that is not a JSON object.
|
|
1885
|
+
* @param value - the arguments string a tool call logged.
|
|
1886
|
+
* @returns the object, or undefined when it is missing or not an object.
|
|
1802
1887
|
*/
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
{
|
|
1810
|
-
key: "down",
|
|
1811
|
-
axis: "row",
|
|
1812
|
-
to: "next"
|
|
1813
|
-
},
|
|
1814
|
-
{
|
|
1815
|
-
key: "shift+up",
|
|
1816
|
-
axis: "row",
|
|
1817
|
-
to: "first"
|
|
1818
|
-
},
|
|
1819
|
-
{
|
|
1820
|
-
key: "home",
|
|
1821
|
-
axis: "row",
|
|
1822
|
-
to: "first"
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
key: "pageUp",
|
|
1826
|
-
axis: "row",
|
|
1827
|
-
to: "first"
|
|
1828
|
-
},
|
|
1829
|
-
{
|
|
1830
|
-
key: "shift+down",
|
|
1831
|
-
axis: "row",
|
|
1832
|
-
to: "last"
|
|
1833
|
-
},
|
|
1834
|
-
{
|
|
1835
|
-
key: "end",
|
|
1836
|
-
axis: "row",
|
|
1837
|
-
to: "last"
|
|
1838
|
-
},
|
|
1839
|
-
{
|
|
1840
|
-
key: "pageDown",
|
|
1841
|
-
axis: "row",
|
|
1842
|
-
to: "last"
|
|
1843
|
-
}
|
|
1844
|
-
];
|
|
1845
|
-
/** The status bar's movement keys, along its one axis of segments. */
|
|
1846
|
-
const BAR_MOVES = [
|
|
1847
|
-
{
|
|
1848
|
-
key: "left",
|
|
1849
|
-
axis: "segment",
|
|
1850
|
-
to: "previous"
|
|
1851
|
-
},
|
|
1852
|
-
{
|
|
1853
|
-
key: "right",
|
|
1854
|
-
axis: "segment",
|
|
1855
|
-
to: "next"
|
|
1856
|
-
},
|
|
1857
|
-
{
|
|
1858
|
-
key: "shift+left",
|
|
1859
|
-
axis: "segment",
|
|
1860
|
-
to: "first"
|
|
1861
|
-
},
|
|
1862
|
-
{
|
|
1863
|
-
key: "home",
|
|
1864
|
-
axis: "segment",
|
|
1865
|
-
to: "first"
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
key: "pageUp",
|
|
1869
|
-
axis: "segment",
|
|
1870
|
-
to: "first"
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
key: "shift+right",
|
|
1874
|
-
axis: "segment",
|
|
1875
|
-
to: "last"
|
|
1876
|
-
},
|
|
1877
|
-
{
|
|
1878
|
-
key: "end",
|
|
1879
|
-
axis: "segment",
|
|
1880
|
-
to: "last"
|
|
1881
|
-
},
|
|
1882
|
-
{
|
|
1883
|
-
key: "pageDown",
|
|
1884
|
-
axis: "segment",
|
|
1885
|
-
to: "last"
|
|
1888
|
+
function argumentsOf(value) {
|
|
1889
|
+
if (typeof value !== "string") return void 0;
|
|
1890
|
+
try {
|
|
1891
|
+
return fields(JSON.parse(value));
|
|
1892
|
+
} catch (error) {
|
|
1893
|
+
return;
|
|
1886
1894
|
}
|
|
1887
|
-
|
|
1895
|
+
}
|
|
1888
1896
|
/**
|
|
1889
|
-
*
|
|
1890
|
-
* @param
|
|
1891
|
-
* @
|
|
1892
|
-
* @returns the movement action, or undefined when the table has no binding for the key.
|
|
1897
|
+
* A nonempty string field.
|
|
1898
|
+
* @param value - the candidate.
|
|
1899
|
+
* @returns the string, or undefined when it is blank or not a string.
|
|
1893
1900
|
*/
|
|
1894
|
-
function
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
axis: binding.axis,
|
|
1899
|
-
to: binding.to
|
|
1900
|
-
};
|
|
1901
|
+
function text(value) {
|
|
1902
|
+
if (typeof value !== "string") return void 0;
|
|
1903
|
+
const trimmed = value.trim();
|
|
1904
|
+
return trimmed === "" ? void 0 : trimmed;
|
|
1901
1905
|
}
|
|
1902
1906
|
/**
|
|
1903
|
-
*
|
|
1904
|
-
*
|
|
1905
|
-
* @
|
|
1906
|
-
* @returns the cycling action, or undefined for any other key.
|
|
1907
|
+
* The own fields of a plain object.
|
|
1908
|
+
* @param value - the candidate.
|
|
1909
|
+
* @returns those fields, or undefined for anything that is not a plain object.
|
|
1907
1910
|
*/
|
|
1908
|
-
function
|
|
1909
|
-
if (
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
if (matchesKey(data, "shift+tab")) return {
|
|
1914
|
-
kind: "cycle",
|
|
1915
|
-
step: -1
|
|
1916
|
-
};
|
|
1911
|
+
function fields(value) {
|
|
1912
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) return void 0;
|
|
1913
|
+
const out = {};
|
|
1914
|
+
for (const [key, field] of Object.entries(value)) out[key] = field;
|
|
1915
|
+
return out;
|
|
1917
1916
|
}
|
|
1917
|
+
//#endregion
|
|
1918
|
+
//#region lib/types/team-panel.js
|
|
1918
1919
|
/**
|
|
1919
|
-
*
|
|
1920
|
-
*
|
|
1921
|
-
*
|
|
1922
|
-
*
|
|
1923
|
-
*
|
|
1920
|
+
* The docked Agent Teams summary between the editor and the status bar: the
|
|
1921
|
+
* roster and the shared tasks become one dim line.
|
|
1922
|
+
*
|
|
1923
|
+
* The line is the only team summary on the main page. The subagent panel does
|
|
1924
|
+
* not list or count teammates, and the activity board labels a teammate by name
|
|
1925
|
+
* and role. The line names the teammates whose turn is running, so it is also
|
|
1926
|
+
* the live indicator. It is drawn while a teammate or a shared task that is not
|
|
1927
|
+
* deleted exists, and the app never gives it the keyboard. Everything here is
|
|
1928
|
+
* pure — no Context, no services, no clock.
|
|
1929
|
+
* @module @deepseek-ai/dsh-tui-app/team-panel
|
|
1924
1930
|
*/
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
}
|
|
1931
|
+
/** Drawn when the user forces the panel on and the roster has nothing to list. */
|
|
1932
|
+
const TEAM_PANEL_EMPTY = "team · no teammates or shared tasks yet";
|
|
1933
|
+
/** What separates two facts inside the line. */
|
|
1934
|
+
const SEPARATOR$5 = " · ";
|
|
1935
|
+
/** The command the line points at; it plays the exchanges between the lead and its teammates. */
|
|
1936
|
+
const TEAM_PLAY_HINT = "/team-play";
|
|
1932
1937
|
/**
|
|
1933
|
-
*
|
|
1934
|
-
* @param
|
|
1935
|
-
* @returns the
|
|
1936
|
-
*/
|
|
1937
|
-
function queueKey(data) {
|
|
1938
|
-
const move = moveKey(data, QUEUE_MOVES);
|
|
1939
|
-
if (move !== void 0) return move;
|
|
1940
|
-
if (matchesKey(data, "enter")) return {
|
|
1941
|
-
kind: "queue",
|
|
1942
|
-
action: "steer"
|
|
1943
|
-
};
|
|
1944
|
-
if (data === "s" || data === "S") return {
|
|
1945
|
-
kind: "queue",
|
|
1946
|
-
action: "steer"
|
|
1947
|
-
};
|
|
1948
|
-
if (data === "i" || data === "I") return {
|
|
1949
|
-
kind: "queue",
|
|
1950
|
-
action: "inject"
|
|
1951
|
-
};
|
|
1952
|
-
if (data === "e" || data === "E") return {
|
|
1953
|
-
kind: "queue",
|
|
1954
|
-
action: "edit"
|
|
1955
|
-
};
|
|
1956
|
-
return cycleKey(data) ?? typeKey(data);
|
|
1957
|
-
}
|
|
1958
|
-
/**
|
|
1959
|
-
* What one key means while the subagent panel holds the keyboard.
|
|
1960
|
-
* @param data - the raw key bytes.
|
|
1961
|
-
* @returns the action, or undefined for a key the panel consumes without effect.
|
|
1962
|
-
*/
|
|
1963
|
-
function panelKey(data) {
|
|
1964
|
-
const move = moveKey(data, PANEL_MOVES);
|
|
1965
|
-
if (move !== void 0) return move;
|
|
1966
|
-
if (matchesKey(data, "enter") || matchesKey(data, "right")) return OPEN;
|
|
1967
|
-
return cycleKey(data) ?? typeKey(data);
|
|
1968
|
-
}
|
|
1969
|
-
/**
|
|
1970
|
-
* What one key means while the status bar holds the keyboard. The bar is the
|
|
1971
|
-
* bottom of the stack, so `Up` leaves it and `Down` does nothing.
|
|
1972
|
-
* @param data - the raw key bytes.
|
|
1973
|
-
* @returns the action, or undefined for a key the bar consumes without effect.
|
|
1974
|
-
*/
|
|
1975
|
-
function barKey(data) {
|
|
1976
|
-
const move = moveKey(data, BAR_MOVES);
|
|
1977
|
-
if (move !== void 0) return move;
|
|
1978
|
-
if (matchesKey(data, "up")) return {
|
|
1979
|
-
kind: "leave",
|
|
1980
|
-
direction: "up"
|
|
1981
|
-
};
|
|
1982
|
-
if (matchesKey(data, "shift+up")) return {
|
|
1983
|
-
kind: "focus",
|
|
1984
|
-
region: "transcript"
|
|
1985
|
-
};
|
|
1986
|
-
if (matchesKey(data, "shift+down")) return {
|
|
1987
|
-
kind: "focus",
|
|
1988
|
-
region: "bar"
|
|
1989
|
-
};
|
|
1990
|
-
if (matchesKey(data, "enter")) return OPEN;
|
|
1991
|
-
return cycleKey(data) ?? typeKey(data);
|
|
1992
|
-
}
|
|
1993
|
-
/**
|
|
1994
|
-
* The printable law: a key that types something hands the keyboard back to
|
|
1995
|
-
* the editor and lands at its caret.
|
|
1996
|
-
* @param data - the raw key bytes.
|
|
1997
|
-
* @returns the typing action, or undefined for a key that types nothing.
|
|
1998
|
-
*/
|
|
1999
|
-
function typeKey(data) {
|
|
2000
|
-
const text = typedText(data);
|
|
2001
|
-
return text === void 0 ? void 0 : {
|
|
2002
|
-
kind: "type",
|
|
2003
|
-
text
|
|
2004
|
-
};
|
|
2005
|
-
}
|
|
2006
|
-
/** Drawn when the user forces the panel on and the roster has nothing to list. */
|
|
2007
|
-
const TEAM_PANEL_EMPTY = "team · no teammates or shared tasks yet";
|
|
2008
|
-
/** What separates two facts inside one row. */
|
|
2009
|
-
const SEPARATOR$6 = " · ";
|
|
2010
|
-
/**
|
|
2011
|
-
* Tasks the summary and the focused rows count.
|
|
2012
|
-
* @param tasks - the roster's tasks, deleted rows included.
|
|
2013
|
-
* @returns the tasks whose status is not `deleted`, in input order.
|
|
1938
|
+
* Tasks the summary counts.
|
|
1939
|
+
* @param tasks - the roster's tasks, deleted rows included.
|
|
1940
|
+
* @returns the tasks whose status is not `deleted`, in input order.
|
|
2014
1941
|
*/
|
|
2015
1942
|
function liveTasks(tasks) {
|
|
2016
1943
|
return tasks.filter((task) => task.status !== "deleted");
|
|
2017
1944
|
}
|
|
2018
1945
|
/**
|
|
2019
|
-
*
|
|
2020
|
-
*
|
|
2021
|
-
* @param
|
|
2022
|
-
* @returns
|
|
2023
|
-
*/
|
|
2024
|
-
function hasContent(members, tasks) {
|
|
2025
|
-
return members.some((member) => member.role === "teammate") || tasks.length > 0;
|
|
2026
|
-
}
|
|
2027
|
-
/**
|
|
2028
|
-
* One member as a focused row.
|
|
2029
|
-
* @param member - the roster row.
|
|
2030
|
-
* @returns `name · role · status`, plus ` · model` when a model is present.
|
|
2031
|
-
*/
|
|
2032
|
-
function memberLine(member) {
|
|
2033
|
-
const parts = [
|
|
2034
|
-
member.name,
|
|
2035
|
-
member.role,
|
|
2036
|
-
member.status
|
|
2037
|
-
];
|
|
2038
|
-
if (member.model !== void 0) parts.push(member.model);
|
|
2039
|
-
return parts.join(SEPARATOR$6);
|
|
2040
|
-
}
|
|
2041
|
-
/**
|
|
2042
|
-
* One task as a focused row.
|
|
2043
|
-
* @param task - a non-deleted task.
|
|
2044
|
-
* @returns `subject · status · owner|unowned · ready|blocked`.
|
|
2045
|
-
*/
|
|
2046
|
-
function taskLine(task) {
|
|
2047
|
-
const owner = task.ownerName ?? "unowned";
|
|
2048
|
-
return [
|
|
2049
|
-
task.subject,
|
|
2050
|
-
task.status,
|
|
2051
|
-
owner,
|
|
2052
|
-
task.ready ? "ready" : "blocked"
|
|
2053
|
-
].join(SEPARATOR$6);
|
|
2054
|
-
}
|
|
2055
|
-
/**
|
|
2056
|
-
* The unfocused summary.
|
|
2057
|
-
* @param view - the draw.
|
|
2058
|
-
* @returns `team · <n> members · <running> running · <tasks> tasks`.
|
|
1946
|
+
* The ways the running teammates can be named, longest first: every name, then
|
|
1947
|
+
* fewer names ended by `+<n>` for the ones left out, then only their number.
|
|
1948
|
+
* @param names - the names of the teammates whose status is `running`, in roster order.
|
|
1949
|
+
* @returns one candidate per step, or `undefined` alone when no teammate is running, which leaves the segment out.
|
|
2059
1950
|
*/
|
|
2060
|
-
function
|
|
2061
|
-
|
|
1951
|
+
function workingSegments(names) {
|
|
1952
|
+
if (names.length === 0) return [void 0];
|
|
1953
|
+
const segments = [];
|
|
1954
|
+
for (let shown = names.length; shown >= 1; shown--) {
|
|
1955
|
+
const rest = names.length - shown;
|
|
1956
|
+
segments.push(`working: ${names.slice(0, shown).join(", ")}${rest === 0 ? "" : ` +${String(rest)}`}`);
|
|
1957
|
+
}
|
|
1958
|
+
segments.push(`${String(names.length)} working`);
|
|
1959
|
+
return segments;
|
|
2062
1960
|
}
|
|
2063
1961
|
/**
|
|
2064
|
-
*
|
|
2065
|
-
*
|
|
2066
|
-
*
|
|
2067
|
-
*
|
|
2068
|
-
* @
|
|
2069
|
-
*
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
const
|
|
2074
|
-
const
|
|
2075
|
-
const
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
hidden: listed.length - rows.length,
|
|
2089
|
-
memberCount,
|
|
2090
|
-
running,
|
|
2091
|
-
taskCount,
|
|
2092
|
-
shown: true
|
|
2093
|
-
};
|
|
1962
|
+
* The summary text.
|
|
1963
|
+
* @param teammates - the roster rows whose role is `teammate`.
|
|
1964
|
+
* @param tasks - the tasks that are not deleted.
|
|
1965
|
+
* @param width - columns the text should fit.
|
|
1966
|
+
* @returns `team · <n> teammates · working: <names> · tasks <completed>/<total> done · /team-play`
|
|
1967
|
+
* with the `working` segment left out while nobody runs. The first segment step that fits
|
|
1968
|
+
* `width` is used, and the shortest one when none does.
|
|
1969
|
+
*/
|
|
1970
|
+
function summaryText(teammates, tasks, width) {
|
|
1971
|
+
const completed = tasks.filter((task) => task.status === "completed").length;
|
|
1972
|
+
const count = `${String(teammates.length)} ${teammates.length === 1 ? "teammate" : "teammates"}`;
|
|
1973
|
+
const running = teammates.filter((member) => member.status === "running").map((member) => member.name);
|
|
1974
|
+
let text = "";
|
|
1975
|
+
for (const segment of workingSegments(running)) {
|
|
1976
|
+
text = [
|
|
1977
|
+
"team",
|
|
1978
|
+
count,
|
|
1979
|
+
...segment === void 0 ? [] : [segment],
|
|
1980
|
+
`tasks ${String(completed)}/${String(tasks.length)} done`,
|
|
1981
|
+
TEAM_PLAY_HINT
|
|
1982
|
+
].join(SEPARATOR$5);
|
|
1983
|
+
if (visibleWidth(text) <= width) break;
|
|
1984
|
+
}
|
|
1985
|
+
return text;
|
|
2094
1986
|
}
|
|
2095
1987
|
/**
|
|
2096
1988
|
* The one-line summary the app mounts. `hidden` draws nothing. `forced`
|
|
2097
1989
|
* draws {@link TEAM_PANEL_EMPTY} when the roster has no teammate and no task
|
|
2098
|
-
* that is not deleted. Otherwise the line counts
|
|
2099
|
-
* ones, and the tasks
|
|
2100
|
-
*
|
|
1990
|
+
* that is not deleted. Otherwise the line counts the teammates (the lead is
|
|
1991
|
+
* not one), names the running ones, and counts the completed tasks among the
|
|
1992
|
+
* tasks that are not deleted. A line wider than `width` drops names from the
|
|
1993
|
+
* running list first, then ends with `…`.
|
|
1994
|
+
* @param inputs - the roster, the tasks, the width, and whether the line is hidden or forced.
|
|
2101
1995
|
* @param palette - the palette the line is dimmed with.
|
|
2102
1996
|
* @returns the summary line, or `''` when the slot should stay empty.
|
|
2103
1997
|
*/
|
|
2104
1998
|
function teamPanelLine(inputs, palette) {
|
|
2105
1999
|
if (inputs.hidden === true) return "";
|
|
2106
|
-
const
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
});
|
|
2111
|
-
if (!view.shown) return inputs.forced === true ? palette.dim(TEAM_PANEL_EMPTY) : "";
|
|
2112
|
-
return palette.dim(summaryLine(view));
|
|
2000
|
+
const teammates = inputs.members.filter((member) => member.role === "teammate");
|
|
2001
|
+
const tasks = liveTasks(inputs.tasks);
|
|
2002
|
+
const text = teammates.length === 0 && tasks.length === 0 ? inputs.forced === true ? TEAM_PANEL_EMPTY : "" : summaryText(teammates, tasks, inputs.width);
|
|
2003
|
+
return text === "" ? "" : palette.dim(truncateToWidth(text, inputs.width, "…"));
|
|
2113
2004
|
}
|
|
2114
2005
|
//#endregion
|
|
2115
2006
|
//#region lib/types/diff.js
|
|
@@ -3075,7 +2966,7 @@ function commandOf(args) {
|
|
|
3075
2966
|
/* v8 ignore next -- a live owned job settles before it can leave the registry */
|
|
3076
2967
|
function ignoreGone(_gone) {}
|
|
3077
2968
|
/** What separates two facts on one line. */
|
|
3078
|
-
const SEPARATOR$
|
|
2969
|
+
const SEPARATOR$4 = " · ";
|
|
3079
2970
|
/** The key the running spinner names while a foreground call can be moved. */
|
|
3080
2971
|
const BACKGROUND_KEY_HINT = "Ctrl+B background";
|
|
3081
2972
|
/** What the `/jobs` picker says between its heading and its rows. */
|
|
@@ -3109,8 +3000,8 @@ function renderJobsLine(jobs, render) {
|
|
|
3109
3000
|
const live = jobs.filter(isLive);
|
|
3110
3001
|
if (live.length === 0) return "";
|
|
3111
3002
|
const { palette } = render;
|
|
3112
|
-
const text = [`${String(live.length)} in background`, ...live.map((job) => `${job.id} ${oneLine(job.label)} ${jobElapsed(job, render.now)}`)].join(SEPARATOR$
|
|
3113
|
-
const tail = `${SEPARATOR$
|
|
3003
|
+
const text = [`${String(live.length)} in background`, ...live.map((job) => `${job.id} ${oneLine(job.label)} ${jobElapsed(job, render.now)}`)].join(SEPARATOR$4);
|
|
3004
|
+
const tail = `${SEPARATOR$4}/jobs`;
|
|
3114
3005
|
const room = Math.max(1, render.width - 2 - tail.length);
|
|
3115
3006
|
return `${palette.accent("◇")} ${palette.dim(`${truncateToWidth(text, room, "…")}${tail}`)}`;
|
|
3116
3007
|
}
|
|
@@ -3128,7 +3019,7 @@ function jobChoice(job, now) {
|
|
|
3128
3019
|
job.status,
|
|
3129
3020
|
jobElapsed(job, now),
|
|
3130
3021
|
oneLine(job.label)
|
|
3131
|
-
].join(SEPARATOR$
|
|
3022
|
+
].join(SEPARATOR$4)
|
|
3132
3023
|
};
|
|
3133
3024
|
}
|
|
3134
3025
|
/**
|
|
@@ -3145,7 +3036,7 @@ function jobDetailRows(job, chunks, now) {
|
|
|
3145
3036
|
job.status,
|
|
3146
3037
|
...job.detail === void 0 ? [] : [job.detail],
|
|
3147
3038
|
jobElapsed(job, now)
|
|
3148
|
-
].join(SEPARATOR$
|
|
3039
|
+
].join(SEPARATOR$4),
|
|
3149
3040
|
job.label,
|
|
3150
3041
|
`started ${formatTimestamp(job.startedAt)} UTC`
|
|
3151
3042
|
];
|
|
@@ -3170,7 +3061,7 @@ function jobDetailRows(job, chunks, now) {
|
|
|
3170
3061
|
function settledToast(job, notified) {
|
|
3171
3062
|
const parts = [`◇ ${job.id} ${job.status}`, oneLine(job.label)];
|
|
3172
3063
|
if (notified) parts.push("agent notified");
|
|
3173
|
-
return parts.join(SEPARATOR$
|
|
3064
|
+
return parts.join(SEPARATOR$4);
|
|
3174
3065
|
}
|
|
3175
3066
|
/**
|
|
3176
3067
|
* A label on one line.
|
|
@@ -9113,76 +9004,570 @@ const SEARCH_ROUTE_ITEMS = [{
|
|
|
9113
9004
|
* @returns `openrouter` when the resolved endpoint is OpenRouter's, otherwise `deepseek`.
|
|
9114
9005
|
* @throws {Error} when no settings service is mounted or the namespace is not registered.
|
|
9115
9006
|
*/
|
|
9116
|
-
function currentSearchRoute(ctx) {
|
|
9117
|
-
const { baseURL } = settingValue(ctx, SEARCH_NAMESPACE);
|
|
9118
|
-
return baseURL?.startsWith(OPENROUTER_BASE_URL) === true ? "openrouter" : "deepseek";
|
|
9007
|
+
function currentSearchRoute(ctx) {
|
|
9008
|
+
const { baseURL } = settingValue(ctx, SEARCH_NAMESPACE);
|
|
9009
|
+
return baseURL?.startsWith(OPENROUTER_BASE_URL) === true ? "openrouter" : "deepseek";
|
|
9010
|
+
}
|
|
9011
|
+
/**
|
|
9012
|
+
* Select a search route by writing the provider's settings.
|
|
9013
|
+
* @param ctx - plugin context carrying the optional settings service.
|
|
9014
|
+
* @param route - the route to select; `deepseek` clears the namespace's user overrides.
|
|
9015
|
+
* @param model - the OpenRouter model for `openrouter`; defaults to {@link OPENROUTER_SEARCH_MODEL}.
|
|
9016
|
+
* @returns a confirmation row.
|
|
9017
|
+
* @throws {Error} when no settings service is mounted or the namespace is not registered.
|
|
9018
|
+
*/
|
|
9019
|
+
async function applySearchRoute(ctx, route, model) {
|
|
9020
|
+
if (route === "deepseek") {
|
|
9021
|
+
await resetSetting(ctx, SEARCH_NAMESPACE);
|
|
9022
|
+
return "web search: DeepSeek";
|
|
9023
|
+
}
|
|
9024
|
+
const chosen = model ?? "deepseek/deepseek-v4-flash-0731";
|
|
9025
|
+
await setSetting(ctx, SEARCH_NAMESPACE, "baseURL", OPENROUTER_BASE_URL);
|
|
9026
|
+
await setSetting(ctx, SEARCH_NAMESPACE, "apiKeyEnv", OPENROUTER_KEY_REF);
|
|
9027
|
+
await setSetting(ctx, SEARCH_NAMESPACE, "model", chosen);
|
|
9028
|
+
return `web search: OpenRouter ${chosen}`;
|
|
9029
|
+
}
|
|
9030
|
+
//#endregion
|
|
9031
|
+
//#region lib/types/permission.js
|
|
9032
|
+
/**
|
|
9033
|
+
* Permission-preset rows and labels shared by `/permission` and the
|
|
9034
|
+
* permission status-bar hint.
|
|
9035
|
+
* @module @deepseek-ai/dsh-tui-app/permission
|
|
9036
|
+
*/
|
|
9037
|
+
/**
|
|
9038
|
+
* The display name of one preset.
|
|
9039
|
+
* @param options - the process catalog.
|
|
9040
|
+
* @param preset - the selected preset, including a derived `custom` value.
|
|
9041
|
+
* @returns the catalog label, or the raw id when the catalog no longer lists it.
|
|
9042
|
+
*/
|
|
9043
|
+
function permissionName(options, preset) {
|
|
9044
|
+
return options.find((option) => option.value === preset)?.name ?? preset;
|
|
9045
|
+
}
|
|
9046
|
+
/**
|
|
9047
|
+
* Picker rows for the process catalog, in contribution order.
|
|
9048
|
+
* @param options - the selectable presets.
|
|
9049
|
+
* @returns the rows.
|
|
9050
|
+
*/
|
|
9051
|
+
function permissionItems(options) {
|
|
9052
|
+
return options.map((option) => ({
|
|
9053
|
+
value: option.value,
|
|
9054
|
+
label: option.name,
|
|
9055
|
+
...option.description === void 0 ? {} : { description: option.description }
|
|
9056
|
+
}));
|
|
9057
|
+
}
|
|
9058
|
+
/**
|
|
9059
|
+
* The dim row under the picker heading.
|
|
9060
|
+
* @param options - the process catalog.
|
|
9061
|
+
* @param preset - the preset in force.
|
|
9062
|
+
* @returns one row naming the preset in force and how to dismiss the picker.
|
|
9063
|
+
*/
|
|
9064
|
+
function permissionHint(options, preset) {
|
|
9065
|
+
return `current: ${permissionName(options, preset)} · Esc keeps it`;
|
|
9066
|
+
}
|
|
9067
|
+
/**
|
|
9068
|
+
* The preset a typed `/permission` argument names. Matching is without case
|
|
9069
|
+
* so a typed id can follow the catalog's own casing.
|
|
9070
|
+
* @param options - the process catalog.
|
|
9071
|
+
* @param typed - the argument, matched against catalog values.
|
|
9072
|
+
* @returns the catalog value, or null when nothing matches.
|
|
9073
|
+
*/
|
|
9074
|
+
function matchPermission(options, typed) {
|
|
9075
|
+
const wanted = typed.toLowerCase();
|
|
9076
|
+
return options.find((option) => option.value.toLowerCase() === wanted)?.value ?? null;
|
|
9077
|
+
}
|
|
9078
|
+
//#endregion
|
|
9079
|
+
//#region lib/types/keys.js
|
|
9080
|
+
/**
|
|
9081
|
+
* The key model: which action one press names in the region that holds the
|
|
9082
|
+
* keyboard, what one press types, how long a focus handoff silences the
|
|
9083
|
+
* editor's `Escape`, and the words every surface uses to name a key - the
|
|
9084
|
+
* legend each region degrades through, the entry keys the status bar
|
|
9085
|
+
* reserves, and the lines `/help` lists per region.
|
|
9086
|
+
*
|
|
9087
|
+
* Pure. It reads key bytes and returns actions, so the application owns every
|
|
9088
|
+
* effect and the whole map is decided without a terminal, a palette, or a
|
|
9089
|
+
* clock.
|
|
9090
|
+
* @module @deepseek-ai/dsh-tui-app/keys
|
|
9091
|
+
*/
|
|
9092
|
+
/** Characters a typed key never carries: C0 controls, DEL, and C1 controls. */
|
|
9093
|
+
const CONTROL_CHARACTERS = /[\u0000-\u001f\u007f-\u009f]/u;
|
|
9094
|
+
/**
|
|
9095
|
+
* The text one key press types.
|
|
9096
|
+
* @param data - the bytes the terminal sent.
|
|
9097
|
+
* @returns the characters to type, or undefined for control keys and escape sequences.
|
|
9098
|
+
*/
|
|
9099
|
+
function typedText(data) {
|
|
9100
|
+
const kitty = decodeKittyPrintable(data);
|
|
9101
|
+
if (kitty !== void 0) return kitty;
|
|
9102
|
+
return CONTROL_CHARACTERS.test(data) ? void 0 : data;
|
|
9103
|
+
}
|
|
9104
|
+
/**
|
|
9105
|
+
* The legend of each region, in declared degradation steps: the widest first,
|
|
9106
|
+
* every next one narrower, the last the shortest form that still names the way
|
|
9107
|
+
* back to the input. One grammar throughout - the keys the region answers,
|
|
9108
|
+
* then where `Esc` goes - so a legend is read the same way on every surface.
|
|
9109
|
+
* The editor draws no legend of its own: the unfocused status bar names the
|
|
9110
|
+
* keys that leave it.
|
|
9111
|
+
*/
|
|
9112
|
+
const HINTS = {
|
|
9113
|
+
editor: [],
|
|
9114
|
+
transcript: [
|
|
9115
|
+
"↑↓ sections · ←→ parts · Space folds · Ctrl+G reader · Esc input",
|
|
9116
|
+
"↑↓ ←→ · Space folds · Esc input",
|
|
9117
|
+
"Esc input"
|
|
9118
|
+
],
|
|
9119
|
+
queue: [
|
|
9120
|
+
"↑↓ select · Enter steer · E edit · I inject · Esc input",
|
|
9121
|
+
"↑↓ · Enter steer · E edit · Esc input",
|
|
9122
|
+
"Esc input"
|
|
9123
|
+
],
|
|
9124
|
+
panel: [
|
|
9125
|
+
"↑↓ children · Enter opens · Tab regions · Esc input",
|
|
9126
|
+
"↑↓ children · Esc input",
|
|
9127
|
+
"Esc input"
|
|
9128
|
+
],
|
|
9129
|
+
bar: [
|
|
9130
|
+
"←→ segments · Enter details · Tab regions · Esc input",
|
|
9131
|
+
"←→ segments · Esc input",
|
|
9132
|
+
"Esc input"
|
|
9133
|
+
]
|
|
9134
|
+
};
|
|
9135
|
+
/**
|
|
9136
|
+
* The regions in the order `/help` lists them: the input first, because it is
|
|
9137
|
+
* where every other region is reached from and returned to. The screen stacks
|
|
9138
|
+
* them in another order, which {@link FocusRegion} states and the `Tab` walk
|
|
9139
|
+
* follows over the regions drawn right now.
|
|
9140
|
+
*/
|
|
9141
|
+
const FOCUS_REGIONS = [
|
|
9142
|
+
"editor",
|
|
9143
|
+
"transcript",
|
|
9144
|
+
"queue",
|
|
9145
|
+
"panel",
|
|
9146
|
+
"bar"
|
|
9147
|
+
];
|
|
9148
|
+
/** What each region is called where it is named rather than drawn. */
|
|
9149
|
+
const REGION_LABELS = {
|
|
9150
|
+
editor: "input",
|
|
9151
|
+
transcript: "conversation",
|
|
9152
|
+
queue: "follow-ups",
|
|
9153
|
+
panel: "subagent panel",
|
|
9154
|
+
bar: "status bar"
|
|
9155
|
+
};
|
|
9156
|
+
/** The two keys that leave the input when no follow-up waits. */
|
|
9157
|
+
const ENTRY_KEYS = "Shift+↑ read · Shift+↓ status";
|
|
9158
|
+
/** The same pair while follow-ups wait: Shift+↑ selects one instead of reading. */
|
|
9159
|
+
const QUEUE_ENTRY_KEYS = "Shift+↑ select · Shift+↓ status";
|
|
9160
|
+
/**
|
|
9161
|
+
* The keys the unfocused follow-ups list names: ↑ on an empty input revises
|
|
9162
|
+
* the newest follow-up, and Shift+↑ is the direction out of the input toward
|
|
9163
|
+
* whatever sits above it.
|
|
9164
|
+
*/
|
|
9165
|
+
const QUEUE_ENTRY_HINT = "↑ edit · Shift+↑ select";
|
|
9166
|
+
/**
|
|
9167
|
+
* The entry keys the unfocused status bar reserves before any fact is placed,
|
|
9168
|
+
* in declared degradation steps. Both directions are named: reaching the
|
|
9169
|
+
* conversation or a waiting follow-up, and reaching the bar, are the two
|
|
9170
|
+
* ways out of the input, and a key nobody can see is a key nobody presses.
|
|
9171
|
+
* @param drawn - whether follow-ups sit above the editor, which Shift+↑ enters.
|
|
9172
|
+
* @returns the widest pair first, then the compact form.
|
|
9173
|
+
*/
|
|
9174
|
+
function entryHints(drawn = {}) {
|
|
9175
|
+
return [drawn.queue === true ? QUEUE_ENTRY_KEYS : ENTRY_KEYS, "Shift+↑↓ nav"];
|
|
9176
|
+
}
|
|
9177
|
+
entryHints();
|
|
9178
|
+
/**
|
|
9179
|
+
* The widest legend step of one region.
|
|
9180
|
+
* @param region - the region holding the keyboard.
|
|
9181
|
+
* @returns the step a surface draws when the width holds it, and the empty
|
|
9182
|
+
* string for the editor, which draws no legend.
|
|
9183
|
+
*/
|
|
9184
|
+
function widestHint(region) {
|
|
9185
|
+
return HINTS[region][0] ?? "";
|
|
9186
|
+
}
|
|
9187
|
+
/**
|
|
9188
|
+
* What `/help` lists per region: the legend the region draws, then the coarse
|
|
9189
|
+
* keys no legend has room for. The legends are read from {@link HINTS} rather
|
|
9190
|
+
* than written again, so a surface and `/help` can never name a key
|
|
9191
|
+
* differently. The editor draws no legend, so its own keys are listed here and
|
|
9192
|
+
* nowhere else. This is the screen's summary, not the complete map; the
|
|
9193
|
+
* package README carries every binding.
|
|
9194
|
+
*/
|
|
9195
|
+
const KEY_LINES = {
|
|
9196
|
+
editor: [
|
|
9197
|
+
"Enter sends · Shift+Enter newline · ↑↓ history · Ctrl+S steers",
|
|
9198
|
+
"Shift+Tab effort list · Shift+←→ words",
|
|
9199
|
+
"@ completes paths and sessions · / completes commands · Tab takes one",
|
|
9200
|
+
"!cmd runs here · the next prompt can read it · !!cmd stays local",
|
|
9201
|
+
`${ENTRY_KEYS} · Ctrl+G reader`,
|
|
9202
|
+
"While follow-ups wait: ↑ on an empty input edits the newest · Shift+↑ selects one",
|
|
9203
|
+
"Ctrl+O folds every tool card and context row",
|
|
9204
|
+
"Ctrl+T todos · Ctrl+P parent session · Ctrl+L redraw · ? keys",
|
|
9205
|
+
"Ctrl+B moves running tool calls to the background · /jobs lists them",
|
|
9206
|
+
"Esc arms the stop · Esc again stops the turn · Esc cancels a running /compact",
|
|
9207
|
+
"Ctrl+C clears the input, twice quits · Ctrl+D quits an empty input"
|
|
9208
|
+
],
|
|
9209
|
+
transcript: [widestHint("transcript"), "Shift+↑↓ blocks · PgUp PgDn turns · Home End ends · Tab regions · Enter reads"],
|
|
9210
|
+
queue: [widestHint("queue")],
|
|
9211
|
+
panel: [widestHint("panel")],
|
|
9212
|
+
bar: [widestHint("bar")]
|
|
9213
|
+
};
|
|
9214
|
+
/** `Escape`, which every region answers. */
|
|
9215
|
+
const ESCAPE = { kind: "escape" };
|
|
9216
|
+
/** `Ctrl+O`, which every region answers. */
|
|
9217
|
+
const FOLD_ALL = { kind: "fold-all" };
|
|
9218
|
+
/** `Ctrl+G`, which every region answers. */
|
|
9219
|
+
const READER = { kind: "reader" };
|
|
9220
|
+
/** `Enter` on the held section, row, or segment. */
|
|
9221
|
+
const OPEN = { kind: "open" };
|
|
9222
|
+
/**
|
|
9223
|
+
* What one key press means where the keyboard is.
|
|
9224
|
+
*
|
|
9225
|
+
* `Escape`, `Ctrl+O`, `Ctrl+G`, `Ctrl+B`, `Ctrl+T`, `Ctrl+P`, and `Ctrl+L`
|
|
9226
|
+
* mean the same thing everywhere and are answered first. Everything else is
|
|
9227
|
+
* the region's own.
|
|
9228
|
+
* @param region - the region holding the keyboard.
|
|
9229
|
+
* @param data - the raw key bytes.
|
|
9230
|
+
* @returns the action to apply, or undefined when this region claims nothing
|
|
9231
|
+
* for the key: the editor lets pi-tui's own editor have it, and a docked
|
|
9232
|
+
* region consumes it without effect.
|
|
9233
|
+
*/
|
|
9234
|
+
function resolveKey(region, data) {
|
|
9235
|
+
if (matchesKey(data, "escape")) return ESCAPE;
|
|
9236
|
+
if (matchesKey(data, "ctrl+o")) return FOLD_ALL;
|
|
9237
|
+
if (matchesKey(data, "ctrl+g")) return READER;
|
|
9238
|
+
if (matchesKey(data, "ctrl+b")) return { kind: "background" };
|
|
9239
|
+
if (matchesKey(data, "ctrl+t")) return { kind: "todos" };
|
|
9240
|
+
if (matchesKey(data, "ctrl+p")) return { kind: "parent" };
|
|
9241
|
+
if (matchesKey(data, "ctrl+l")) return { kind: "redraw" };
|
|
9242
|
+
switch (region) {
|
|
9243
|
+
case "editor": return editorKey(data);
|
|
9244
|
+
case "transcript": return transcriptKey(data);
|
|
9245
|
+
case "queue": return queueKey(data);
|
|
9246
|
+
case "panel": return panelKey(data);
|
|
9247
|
+
case "bar": return barKey(data);
|
|
9248
|
+
/* v8 ignore next 2 -- closed-union exhaustiveness guard */
|
|
9249
|
+
default: return assertNever(region, "tui focus region");
|
|
9250
|
+
}
|
|
9251
|
+
}
|
|
9252
|
+
/**
|
|
9253
|
+
* What one key means while the editor holds the keyboard. Shift+Up and
|
|
9254
|
+
* Shift+Down leave along the stack: the application lands on the first
|
|
9255
|
+
* drawn region in that direction — follow-ups or the conversation above,
|
|
9256
|
+
* the subagent panel or the status bar below. `Up` is offered to the newest
|
|
9257
|
+
* follow-up first, and reaches the editor's history when none is taken.
|
|
9258
|
+
* @param data - the raw key bytes.
|
|
9259
|
+
* @returns the action, or undefined for every key pi-tui's editor owns.
|
|
9260
|
+
*/
|
|
9261
|
+
function editorKey(data) {
|
|
9262
|
+
if (matchesKey(data, "up")) return { kind: "edit-latest" };
|
|
9263
|
+
if (matchesKey(data, "shift+up")) return {
|
|
9264
|
+
kind: "leave",
|
|
9265
|
+
direction: "up"
|
|
9266
|
+
};
|
|
9267
|
+
if (matchesKey(data, "shift+down")) return {
|
|
9268
|
+
kind: "leave",
|
|
9269
|
+
direction: "down"
|
|
9270
|
+
};
|
|
9271
|
+
if (matchesKey(data, "ctrl+s")) return { kind: "steer" };
|
|
9272
|
+
if (matchesKey(data, "shift+tab")) return { kind: "effort" };
|
|
9273
|
+
if (data === "?") return { kind: "help" };
|
|
9274
|
+
}
|
|
9275
|
+
/**
|
|
9276
|
+
* The transcript's movement keys: the arrows step one section and one part,
|
|
9277
|
+
* the shift arrows a whole block and the ends of the held block, `PageUp` and
|
|
9278
|
+
* `PageDown` a turn, and `Home` and `End` the ends of the transcript.
|
|
9279
|
+
*/
|
|
9280
|
+
const TRANSCRIPT_MOVES = [
|
|
9281
|
+
{
|
|
9282
|
+
key: "up",
|
|
9283
|
+
axis: "section",
|
|
9284
|
+
to: "previous"
|
|
9285
|
+
},
|
|
9286
|
+
{
|
|
9287
|
+
key: "down",
|
|
9288
|
+
axis: "section",
|
|
9289
|
+
to: "next"
|
|
9290
|
+
},
|
|
9291
|
+
{
|
|
9292
|
+
key: "shift+up",
|
|
9293
|
+
axis: "block",
|
|
9294
|
+
to: "previous"
|
|
9295
|
+
},
|
|
9296
|
+
{
|
|
9297
|
+
key: "shift+down",
|
|
9298
|
+
axis: "block",
|
|
9299
|
+
to: "next"
|
|
9300
|
+
},
|
|
9301
|
+
{
|
|
9302
|
+
key: "pageUp",
|
|
9303
|
+
axis: "turn",
|
|
9304
|
+
to: "previous"
|
|
9305
|
+
},
|
|
9306
|
+
{
|
|
9307
|
+
key: "pageDown",
|
|
9308
|
+
axis: "turn",
|
|
9309
|
+
to: "next"
|
|
9310
|
+
},
|
|
9311
|
+
{
|
|
9312
|
+
key: "home",
|
|
9313
|
+
axis: "section",
|
|
9314
|
+
to: "first"
|
|
9315
|
+
},
|
|
9316
|
+
{
|
|
9317
|
+
key: "end",
|
|
9318
|
+
axis: "section",
|
|
9319
|
+
to: "last"
|
|
9320
|
+
},
|
|
9321
|
+
{
|
|
9322
|
+
key: "left",
|
|
9323
|
+
axis: "part",
|
|
9324
|
+
to: "previous"
|
|
9325
|
+
},
|
|
9326
|
+
{
|
|
9327
|
+
key: "right",
|
|
9328
|
+
axis: "part",
|
|
9329
|
+
to: "next"
|
|
9330
|
+
},
|
|
9331
|
+
{
|
|
9332
|
+
key: "shift+left",
|
|
9333
|
+
axis: "part",
|
|
9334
|
+
to: "first"
|
|
9335
|
+
},
|
|
9336
|
+
{
|
|
9337
|
+
key: "shift+right",
|
|
9338
|
+
axis: "part",
|
|
9339
|
+
to: "last"
|
|
9340
|
+
}
|
|
9341
|
+
];
|
|
9342
|
+
/** The pending-prompt panel's movement keys. */
|
|
9343
|
+
const QUEUE_MOVES = [
|
|
9344
|
+
{
|
|
9345
|
+
key: "up",
|
|
9346
|
+
axis: "prompt",
|
|
9347
|
+
to: "previous"
|
|
9348
|
+
},
|
|
9349
|
+
{
|
|
9350
|
+
key: "down",
|
|
9351
|
+
axis: "prompt",
|
|
9352
|
+
to: "next"
|
|
9353
|
+
},
|
|
9354
|
+
{
|
|
9355
|
+
key: "home",
|
|
9356
|
+
axis: "prompt",
|
|
9357
|
+
to: "first"
|
|
9358
|
+
},
|
|
9359
|
+
{
|
|
9360
|
+
key: "end",
|
|
9361
|
+
axis: "prompt",
|
|
9362
|
+
to: "last"
|
|
9363
|
+
}
|
|
9364
|
+
];
|
|
9365
|
+
/**
|
|
9366
|
+
* The subagent panel's movement keys. The panel lists at most six rows, so
|
|
9367
|
+
* every coarse key means the same thing there: its first row or its last.
|
|
9368
|
+
*/
|
|
9369
|
+
const PANEL_MOVES = [
|
|
9370
|
+
{
|
|
9371
|
+
key: "up",
|
|
9372
|
+
axis: "row",
|
|
9373
|
+
to: "previous"
|
|
9374
|
+
},
|
|
9375
|
+
{
|
|
9376
|
+
key: "down",
|
|
9377
|
+
axis: "row",
|
|
9378
|
+
to: "next"
|
|
9379
|
+
},
|
|
9380
|
+
{
|
|
9381
|
+
key: "shift+up",
|
|
9382
|
+
axis: "row",
|
|
9383
|
+
to: "first"
|
|
9384
|
+
},
|
|
9385
|
+
{
|
|
9386
|
+
key: "home",
|
|
9387
|
+
axis: "row",
|
|
9388
|
+
to: "first"
|
|
9389
|
+
},
|
|
9390
|
+
{
|
|
9391
|
+
key: "pageUp",
|
|
9392
|
+
axis: "row",
|
|
9393
|
+
to: "first"
|
|
9394
|
+
},
|
|
9395
|
+
{
|
|
9396
|
+
key: "shift+down",
|
|
9397
|
+
axis: "row",
|
|
9398
|
+
to: "last"
|
|
9399
|
+
},
|
|
9400
|
+
{
|
|
9401
|
+
key: "end",
|
|
9402
|
+
axis: "row",
|
|
9403
|
+
to: "last"
|
|
9404
|
+
},
|
|
9405
|
+
{
|
|
9406
|
+
key: "pageDown",
|
|
9407
|
+
axis: "row",
|
|
9408
|
+
to: "last"
|
|
9409
|
+
}
|
|
9410
|
+
];
|
|
9411
|
+
/** The status bar's movement keys, along its one axis of segments. */
|
|
9412
|
+
const BAR_MOVES = [
|
|
9413
|
+
{
|
|
9414
|
+
key: "left",
|
|
9415
|
+
axis: "segment",
|
|
9416
|
+
to: "previous"
|
|
9417
|
+
},
|
|
9418
|
+
{
|
|
9419
|
+
key: "right",
|
|
9420
|
+
axis: "segment",
|
|
9421
|
+
to: "next"
|
|
9422
|
+
},
|
|
9423
|
+
{
|
|
9424
|
+
key: "shift+left",
|
|
9425
|
+
axis: "segment",
|
|
9426
|
+
to: "first"
|
|
9427
|
+
},
|
|
9428
|
+
{
|
|
9429
|
+
key: "home",
|
|
9430
|
+
axis: "segment",
|
|
9431
|
+
to: "first"
|
|
9432
|
+
},
|
|
9433
|
+
{
|
|
9434
|
+
key: "pageUp",
|
|
9435
|
+
axis: "segment",
|
|
9436
|
+
to: "first"
|
|
9437
|
+
},
|
|
9438
|
+
{
|
|
9439
|
+
key: "shift+right",
|
|
9440
|
+
axis: "segment",
|
|
9441
|
+
to: "last"
|
|
9442
|
+
},
|
|
9443
|
+
{
|
|
9444
|
+
key: "end",
|
|
9445
|
+
axis: "segment",
|
|
9446
|
+
to: "last"
|
|
9447
|
+
},
|
|
9448
|
+
{
|
|
9449
|
+
key: "pageDown",
|
|
9450
|
+
axis: "segment",
|
|
9451
|
+
to: "last"
|
|
9452
|
+
}
|
|
9453
|
+
];
|
|
9454
|
+
/**
|
|
9455
|
+
* What one press moves, in one region's table.
|
|
9456
|
+
* @param data - the raw key bytes.
|
|
9457
|
+
* @param bindings - the region's movement keys.
|
|
9458
|
+
* @returns the movement action, or undefined when the table has no binding for the key.
|
|
9459
|
+
*/
|
|
9460
|
+
function moveKey(data, bindings) {
|
|
9461
|
+
const binding = bindings.find((candidate) => matchesKey(data, candidate.key));
|
|
9462
|
+
return binding === void 0 ? void 0 : {
|
|
9463
|
+
kind: "move",
|
|
9464
|
+
axis: binding.axis,
|
|
9465
|
+
to: binding.to
|
|
9466
|
+
};
|
|
9119
9467
|
}
|
|
9120
9468
|
/**
|
|
9121
|
-
*
|
|
9122
|
-
*
|
|
9123
|
-
* @param
|
|
9124
|
-
* @
|
|
9125
|
-
* @returns a confirmation row.
|
|
9126
|
-
* @throws {Error} when no settings service is mounted or the namespace is not registered.
|
|
9469
|
+
* `Tab` and `Shift+Tab`, which every region under the editor reads as the
|
|
9470
|
+
* walk between the regions that are drawn.
|
|
9471
|
+
* @param data - the raw key bytes.
|
|
9472
|
+
* @returns the cycling action, or undefined for any other key.
|
|
9127
9473
|
*/
|
|
9128
|
-
|
|
9129
|
-
if (
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
|
-
}
|
|
9133
|
-
|
|
9134
|
-
|
|
9135
|
-
|
|
9136
|
-
|
|
9137
|
-
return `web search: OpenRouter ${chosen}`;
|
|
9474
|
+
function cycleKey(data) {
|
|
9475
|
+
if (matchesKey(data, "tab")) return {
|
|
9476
|
+
kind: "cycle",
|
|
9477
|
+
step: 1
|
|
9478
|
+
};
|
|
9479
|
+
if (matchesKey(data, "shift+tab")) return {
|
|
9480
|
+
kind: "cycle",
|
|
9481
|
+
step: -1
|
|
9482
|
+
};
|
|
9138
9483
|
}
|
|
9139
|
-
//#endregion
|
|
9140
|
-
//#region lib/types/permission.js
|
|
9141
9484
|
/**
|
|
9142
|
-
*
|
|
9143
|
-
*
|
|
9144
|
-
*
|
|
9485
|
+
* What one key means while the transcript holds the keyboard. `Space` is the
|
|
9486
|
+
* one printable key the transcript keeps for itself: folding the held block is
|
|
9487
|
+
* its primary verb, and a leading space would be trimmed off a prompt anyway.
|
|
9488
|
+
* @param data - the raw key bytes.
|
|
9489
|
+
* @returns the action, or undefined for a key the transcript consumes without effect.
|
|
9145
9490
|
*/
|
|
9491
|
+
function transcriptKey(data) {
|
|
9492
|
+
const move = moveKey(data, TRANSCRIPT_MOVES);
|
|
9493
|
+
if (move !== void 0) return move;
|
|
9494
|
+
if (matchesKey(data, "enter")) return OPEN;
|
|
9495
|
+
if (matchesKey(data, "space")) return { kind: "fold" };
|
|
9496
|
+
return cycleKey(data) ?? typeKey(data);
|
|
9497
|
+
}
|
|
9146
9498
|
/**
|
|
9147
|
-
*
|
|
9148
|
-
* @param
|
|
9149
|
-
* @
|
|
9150
|
-
* @returns the catalog label, or the raw id when the catalog no longer lists it.
|
|
9499
|
+
* What one key means while the follow-ups panel holds the keyboard.
|
|
9500
|
+
* @param data - the raw key bytes.
|
|
9501
|
+
* @returns the action, or undefined for a key the panel consumes without effect.
|
|
9151
9502
|
*/
|
|
9152
|
-
function
|
|
9153
|
-
|
|
9503
|
+
function queueKey(data) {
|
|
9504
|
+
const move = moveKey(data, QUEUE_MOVES);
|
|
9505
|
+
if (move !== void 0) return move;
|
|
9506
|
+
if (matchesKey(data, "enter")) return {
|
|
9507
|
+
kind: "queue",
|
|
9508
|
+
action: "steer"
|
|
9509
|
+
};
|
|
9510
|
+
if (data === "s" || data === "S") return {
|
|
9511
|
+
kind: "queue",
|
|
9512
|
+
action: "steer"
|
|
9513
|
+
};
|
|
9514
|
+
if (data === "i" || data === "I") return {
|
|
9515
|
+
kind: "queue",
|
|
9516
|
+
action: "inject"
|
|
9517
|
+
};
|
|
9518
|
+
if (data === "e" || data === "E") return {
|
|
9519
|
+
kind: "queue",
|
|
9520
|
+
action: "edit"
|
|
9521
|
+
};
|
|
9522
|
+
return cycleKey(data) ?? typeKey(data);
|
|
9154
9523
|
}
|
|
9155
9524
|
/**
|
|
9156
|
-
*
|
|
9157
|
-
* @param
|
|
9158
|
-
* @returns the
|
|
9525
|
+
* What one key means while the subagent panel holds the keyboard.
|
|
9526
|
+
* @param data - the raw key bytes.
|
|
9527
|
+
* @returns the action, or undefined for a key the panel consumes without effect.
|
|
9159
9528
|
*/
|
|
9160
|
-
function
|
|
9161
|
-
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
|
|
9165
|
-
}));
|
|
9529
|
+
function panelKey(data) {
|
|
9530
|
+
const move = moveKey(data, PANEL_MOVES);
|
|
9531
|
+
if (move !== void 0) return move;
|
|
9532
|
+
if (matchesKey(data, "enter") || matchesKey(data, "right")) return OPEN;
|
|
9533
|
+
return cycleKey(data) ?? typeKey(data);
|
|
9166
9534
|
}
|
|
9167
9535
|
/**
|
|
9168
|
-
*
|
|
9169
|
-
*
|
|
9170
|
-
* @param
|
|
9171
|
-
* @returns
|
|
9536
|
+
* What one key means while the status bar holds the keyboard. The bar is the
|
|
9537
|
+
* bottom of the stack, so `Up` leaves it and `Down` does nothing.
|
|
9538
|
+
* @param data - the raw key bytes.
|
|
9539
|
+
* @returns the action, or undefined for a key the bar consumes without effect.
|
|
9172
9540
|
*/
|
|
9173
|
-
function
|
|
9174
|
-
|
|
9541
|
+
function barKey(data) {
|
|
9542
|
+
const move = moveKey(data, BAR_MOVES);
|
|
9543
|
+
if (move !== void 0) return move;
|
|
9544
|
+
if (matchesKey(data, "up")) return {
|
|
9545
|
+
kind: "leave",
|
|
9546
|
+
direction: "up"
|
|
9547
|
+
};
|
|
9548
|
+
if (matchesKey(data, "shift+up")) return {
|
|
9549
|
+
kind: "focus",
|
|
9550
|
+
region: "transcript"
|
|
9551
|
+
};
|
|
9552
|
+
if (matchesKey(data, "shift+down")) return {
|
|
9553
|
+
kind: "focus",
|
|
9554
|
+
region: "bar"
|
|
9555
|
+
};
|
|
9556
|
+
if (matchesKey(data, "enter")) return OPEN;
|
|
9557
|
+
return cycleKey(data) ?? typeKey(data);
|
|
9175
9558
|
}
|
|
9176
9559
|
/**
|
|
9177
|
-
* The
|
|
9178
|
-
*
|
|
9179
|
-
* @param
|
|
9180
|
-
* @
|
|
9181
|
-
* @returns the catalog value, or null when nothing matches.
|
|
9560
|
+
* The printable law: a key that types something hands the keyboard back to
|
|
9561
|
+
* the editor and lands at its caret.
|
|
9562
|
+
* @param data - the raw key bytes.
|
|
9563
|
+
* @returns the typing action, or undefined for a key that types nothing.
|
|
9182
9564
|
*/
|
|
9183
|
-
function
|
|
9184
|
-
const
|
|
9185
|
-
return
|
|
9565
|
+
function typeKey(data) {
|
|
9566
|
+
const text = typedText(data);
|
|
9567
|
+
return text === void 0 ? void 0 : {
|
|
9568
|
+
kind: "type",
|
|
9569
|
+
text
|
|
9570
|
+
};
|
|
9186
9571
|
}
|
|
9187
9572
|
//#endregion
|
|
9188
9573
|
//#region lib/types/prompts.js
|
|
@@ -10174,7 +10559,7 @@ var ViewBanner = class {
|
|
|
10174
10559
|
/** What the chip names this mode. */
|
|
10175
10560
|
const READ_CHIP = "READ";
|
|
10176
10561
|
/** What separates two labels of the parts strip. */
|
|
10177
|
-
const SEPARATOR$
|
|
10562
|
+
const SEPARATOR$3 = " · ";
|
|
10178
10563
|
/** What the heading appends while the focused block lies outside the repaint window. */
|
|
10179
10564
|
const OFF_SCREEN = " · off screen";
|
|
10180
10565
|
/** Opens the numbered parts strip, so Left/Right read as a walk along this row. */
|
|
@@ -10249,7 +10634,7 @@ function partsStrip(parts, palette, width) {
|
|
|
10249
10634
|
const text = `${String(index + 1)} ${part.label}`;
|
|
10250
10635
|
return part.focused ? palette.accent(`[${text}]`) : palette.dim(text);
|
|
10251
10636
|
});
|
|
10252
|
-
const sep = palette.dim(SEPARATOR$
|
|
10637
|
+
const sep = palette.dim(SEPARATOR$3);
|
|
10253
10638
|
const indent = palette.dim(" ");
|
|
10254
10639
|
const end = palette.dim(STRIP_END);
|
|
10255
10640
|
const indentWidth = visibleWidth(" ");
|
|
@@ -10268,7 +10653,7 @@ function partsStrip(parts, palette, width) {
|
|
|
10268
10653
|
if (token === void 0) continue;
|
|
10269
10654
|
const extra = index === tokens.length - 1 ? endWidth : 0;
|
|
10270
10655
|
let leading = index === 0 || current === indent ? "" : sep;
|
|
10271
|
-
let leadingWidth = leading === "" ? 0 : visibleWidth(SEPARATOR$
|
|
10656
|
+
let leadingWidth = leading === "" ? 0 : visibleWidth(SEPARATOR$3);
|
|
10272
10657
|
const tokenWidth = visibleWidth(token);
|
|
10273
10658
|
if (used + leadingWidth + tokenWidth + extra > width && used > indentWidth) {
|
|
10274
10659
|
startLine();
|
|
@@ -10350,7 +10735,7 @@ var InspectorPane = class {
|
|
|
10350
10735
|
* @module @deepseek-ai/dsh-tui-app/navigation
|
|
10351
10736
|
*/
|
|
10352
10737
|
/** What separates two facts inside one heading. */
|
|
10353
|
-
const SEPARATOR$
|
|
10738
|
+
const SEPARATOR$2 = " · ";
|
|
10354
10739
|
/**
|
|
10355
10740
|
* Whether one transcript child is navigable.
|
|
10356
10741
|
* @param child - a child of the transcript container.
|
|
@@ -10704,7 +11089,7 @@ function subjectOf(block, part) {
|
|
|
10704
11089
|
* @returns the label, e.g. `bash git status · result`.
|
|
10705
11090
|
*/
|
|
10706
11091
|
function sectionLabel(block, part) {
|
|
10707
|
-
return subjectOf(block, part).join(SEPARATOR$
|
|
11092
|
+
return subjectOf(block, part).join(SEPARATOR$2);
|
|
10708
11093
|
}
|
|
10709
11094
|
/**
|
|
10710
11095
|
* The inspector heading of the held section: its position in the transcript,
|
|
@@ -10721,7 +11106,7 @@ function sectionHeading(cursor, blocks) {
|
|
|
10721
11106
|
`${String(cursor.block + 1)}/${String(blocks.length)}`,
|
|
10722
11107
|
`turn ${String(block.turn)}`,
|
|
10723
11108
|
sectionLabel(block, part)
|
|
10724
|
-
].join(SEPARATOR$
|
|
11109
|
+
].join(SEPARATOR$2);
|
|
10725
11110
|
}
|
|
10726
11111
|
/**
|
|
10727
11112
|
* The parts strip of the held block.
|
|
@@ -11151,7 +11536,7 @@ function plural$1(count, noun) {
|
|
|
11151
11536
|
/** The segment focus enters the bar on; `buildFooterSegments` always emits it first. */
|
|
11152
11537
|
const FIRST_FOOTER_SEGMENT = "model";
|
|
11153
11538
|
/** What separates two segments, and two parts inside a hint line. */
|
|
11154
|
-
const SEPARATOR$
|
|
11539
|
+
const SEPARATOR$1 = " · ";
|
|
11155
11540
|
/**
|
|
11156
11541
|
* Longest workspace label the bar draws in full. A wider path keeps its last
|
|
11157
11542
|
* two segments behind `…/` so one long project path cannot crowd out the
|
|
@@ -11302,7 +11687,7 @@ function buildFooterSegments(inputs) {
|
|
|
11302
11687
|
`turn ${String(turn.number)}`,
|
|
11303
11688
|
`started: ${formatTimestamp(turn.startedAt)}`,
|
|
11304
11689
|
`elapsed: ${turn.elapsed}`,
|
|
11305
|
-
`queued: ${String(turn.queuedNextTurn)} for the next turn${SEPARATOR$
|
|
11690
|
+
`queued: ${String(turn.queuedNextTurn)} for the next turn${SEPARATOR$1}${String(turn.queuedNextStep)} for the next step`
|
|
11306
11691
|
])
|
|
11307
11692
|
});
|
|
11308
11693
|
if (inputs.usage !== "") segments.push({
|
|
@@ -11338,7 +11723,7 @@ function buildFooterSegments(inputs) {
|
|
|
11338
11723
|
if (inputs.attachments.length > 0) segments.push({
|
|
11339
11724
|
id: "attachments",
|
|
11340
11725
|
label: `${String(inputs.attachments.length)} attached`,
|
|
11341
|
-
detail: printed([...inputs.attachments.map((attachment) => `${attachment.kind}: ${attachment.name}`), `/attach <path> adds one${SEPARATOR$
|
|
11726
|
+
detail: printed([...inputs.attachments.map((attachment) => `${attachment.kind}: ${attachment.name}`), `/attach <path> adds one${SEPARATOR$1}/attach clear drops them all`])
|
|
11342
11727
|
});
|
|
11343
11728
|
return segments;
|
|
11344
11729
|
}
|
|
@@ -11429,7 +11814,7 @@ function middleFacts(facts, hidden, room) {
|
|
|
11429
11814
|
const drawn = [];
|
|
11430
11815
|
let used = 0;
|
|
11431
11816
|
for (const label of facts) {
|
|
11432
|
-
const cost = visibleWidth(SEPARATOR$
|
|
11817
|
+
const cost = visibleWidth(SEPARATOR$1) + visibleWidth(label);
|
|
11433
11818
|
if (used + cost > room) break;
|
|
11434
11819
|
used += cost;
|
|
11435
11820
|
drawn.push(label);
|
|
@@ -11437,9 +11822,9 @@ function middleFacts(facts, hidden, room) {
|
|
|
11437
11822
|
let folded = hidden + facts.length - drawn.length;
|
|
11438
11823
|
if (folded === 0) return drawn;
|
|
11439
11824
|
const token = () => `+${String(folded)}`;
|
|
11440
|
-
const fits = () => used + visibleWidth(SEPARATOR$
|
|
11825
|
+
const fits = () => used + visibleWidth(SEPARATOR$1) + visibleWidth(token()) <= room;
|
|
11441
11826
|
while (!fits() && drawn.length > 0) {
|
|
11442
|
-
used -= visibleWidth(SEPARATOR$
|
|
11827
|
+
used -= visibleWidth(SEPARATOR$1) + visibleWidth(drawn.pop());
|
|
11443
11828
|
folded += 1;
|
|
11444
11829
|
}
|
|
11445
11830
|
if (fits()) drawn.push(token());
|
|
@@ -11467,7 +11852,7 @@ function unfocusedLine(segments, palette, width, queue) {
|
|
|
11467
11852
|
return palette.dim(segment.label);
|
|
11468
11853
|
});
|
|
11469
11854
|
const drawn = middleFacts(facts, rest.length - facts.length, width - visibleWidth(model) - reserved);
|
|
11470
|
-
const left = [model === "" ? "" : palette.model(model), ...drawn].filter((token) => token !== "").join(palette.dim(SEPARATOR$
|
|
11855
|
+
const left = [model === "" ? "" : palette.model(model), ...drawn].filter((token) => token !== "").join(palette.dim(SEPARATOR$1));
|
|
11471
11856
|
if (hint === "") return fitLine(left, width);
|
|
11472
11857
|
return fitLine(`${left}${" ".repeat(Math.max(1, width - visibleWidth(left) - visibleWidth(hint)))}${paintKeys(palette, hint, palette.link)}`, width);
|
|
11473
11858
|
}
|
|
@@ -11494,7 +11879,7 @@ function expansionBody(segment) {
|
|
|
11494
11879
|
function expansionLine(segment, palette, width) {
|
|
11495
11880
|
const body = expansionBody(segment);
|
|
11496
11881
|
const legend = paintKeys(palette, fitLegend(HINTS.bar, width));
|
|
11497
|
-
const suffix = body === "" ? legend : `${palette.dim(SEPARATOR$
|
|
11882
|
+
const suffix = body === "" ? legend : `${palette.dim(SEPARATOR$1)}${legend}`;
|
|
11498
11883
|
const prefix = palette.dim(body);
|
|
11499
11884
|
const rest = width - visibleWidth(suffix);
|
|
11500
11885
|
if (rest < 1) return fitLine(`${prefix}${suffix}`, width);
|
|
@@ -11543,8 +11928,8 @@ function fitSelected(text, room) {
|
|
|
11543
11928
|
*/
|
|
11544
11929
|
function focusedWindow(rest, held, palette, room, level) {
|
|
11545
11930
|
if (rest.length === 0) return "";
|
|
11546
|
-
const sep = palette.dim(SEPARATOR$
|
|
11547
|
-
const sepWidth = visibleWidth(SEPARATOR$
|
|
11931
|
+
const sep = palette.dim(SEPARATOR$1);
|
|
11932
|
+
const sepWidth = visibleWidth(SEPARATOR$1);
|
|
11548
11933
|
const selected = Math.max(0, held);
|
|
11549
11934
|
const budget = room - sepWidth;
|
|
11550
11935
|
const cap = budget - (selected < rest.length - 1 ? WINDOW_MARK_WIDTH : 0);
|
|
@@ -11615,20 +12000,39 @@ var FooterBar = class {
|
|
|
11615
12000
|
});
|
|
11616
12001
|
}
|
|
11617
12002
|
};
|
|
11618
|
-
/**
|
|
11619
|
-
const
|
|
12003
|
+
/** Narration characters kept per child; the row cuts it to its width again. */
|
|
12004
|
+
const NARRATION_MAX_CHARS = 240;
|
|
12005
|
+
/** What separates a descendant's label from what it said. */
|
|
12006
|
+
const NOTE_SEPARATOR = " › ";
|
|
12007
|
+
/** Share of the row a descendant's label may take when it also draws a note. */
|
|
12008
|
+
const LABEL_SHARE = .4;
|
|
12009
|
+
/** Columns a label keeps however narrow the row is. */
|
|
12010
|
+
const LABEL_MIN_COLUMNS = 12;
|
|
12011
|
+
/** Fewest columns a note is worth drawing in; a narrower row draws the label alone. */
|
|
12012
|
+
const NOTE_MIN_COLUMNS = 6;
|
|
12013
|
+
/** Glyph a settled descendant row leads with, by outcome. */
|
|
12014
|
+
const SUBAGENT_SETTLED_GLYPH = {
|
|
12015
|
+
done: "✓",
|
|
12016
|
+
stopped: "✗"
|
|
12017
|
+
};
|
|
11620
12018
|
/**
|
|
11621
12019
|
* Build one board draw: todos in write order cut to
|
|
11622
|
-
* {@link ACTIVITY_BOARD_MAX_TODOS}, plus the
|
|
11623
|
-
*
|
|
11624
|
-
* @
|
|
12020
|
+
* {@link ACTIVITY_BOARD_MAX_TODOS}, plus the descendants, running before
|
|
12021
|
+
* settled and each group in first-seen order, cut to
|
|
12022
|
+
* {@link ACTIVITY_BOARD_MAX_SUBAGENTS}.
|
|
12023
|
+
* @param inputs - the current list and the descendants the turn has seen.
|
|
12024
|
+
* @returns the drawn rows and the count of each kind they left out.
|
|
11625
12025
|
*/
|
|
11626
12026
|
function activityBoardView(inputs) {
|
|
11627
12027
|
const todos = inputs.todos.slice(0, 4).map(rowOf$1);
|
|
12028
|
+
const children = inputs.subagents ?? [];
|
|
12029
|
+
const ordered = [...children.filter((child) => child.state === "running"), ...children.filter((child) => child.state !== "running")];
|
|
12030
|
+
const subagents = ordered.slice(0, 3);
|
|
11628
12031
|
return {
|
|
11629
12032
|
todos,
|
|
11630
12033
|
hidden: inputs.todos.length - todos.length,
|
|
11631
|
-
|
|
12034
|
+
subagents,
|
|
12035
|
+
hiddenSubagents: ordered.length - subagents.length
|
|
11632
12036
|
};
|
|
11633
12037
|
}
|
|
11634
12038
|
/**
|
|
@@ -11644,27 +12048,16 @@ function rowOf$1(item) {
|
|
|
11644
12048
|
};
|
|
11645
12049
|
}
|
|
11646
12050
|
/**
|
|
11647
|
-
*
|
|
11648
|
-
*
|
|
11649
|
-
*
|
|
12051
|
+
* What a child said it is doing, from one of its assistant messages: the last
|
|
12052
|
+
* sentence of its text, without markdown or code blocks, on one line.
|
|
12053
|
+
* Reasoning is not narration, so the caller passes text blocks only.
|
|
12054
|
+
* @param text - the message's text blocks joined.
|
|
12055
|
+
* @returns the sentence, or undefined when the text holds no prose to show.
|
|
11650
12056
|
*/
|
|
11651
|
-
function
|
|
11652
|
-
const
|
|
11653
|
-
if (
|
|
11654
|
-
return
|
|
11655
|
-
}
|
|
11656
|
-
/**
|
|
11657
|
-
* The status and summary one tool result draws on the descendant line.
|
|
11658
|
-
* @param firstRow - the first presented result row, when the result had one.
|
|
11659
|
-
* @param isError - whether the result is an error.
|
|
11660
|
-
* @returns `error` plus the row, the row alone, or `done` when the result had no row.
|
|
11661
|
-
*/
|
|
11662
|
-
function activityResultParts(firstRow, isError) {
|
|
11663
|
-
if (isError) return firstRow === void 0 || firstRow === "" ? { status: "error" } : {
|
|
11664
|
-
status: "error",
|
|
11665
|
-
summary: firstRow
|
|
11666
|
-
};
|
|
11667
|
-
return { status: firstRow === void 0 || firstRow === "" ? "done" : firstRow };
|
|
12057
|
+
function activityNarration(text) {
|
|
12058
|
+
const narration = (text.replace(/```[\s\S]*?(?:```|$)/gu, "\n").replace(/!?\[([^\]]*)\]\([^)]*\)/gu, "$1").replace(/^\s{0,3}(?:#{1,6}|>|[-*+]|\d+[.)])\s+/gmu, "").replace(/\*\*|__|~~|`/gu, "").split("\n").map((row) => row.trim()).findLast((row) => row !== "")?.split(/(?<=[.!?])\s+/u).findLast((part) => part.trim() !== ""))?.replace(/\s+/gu, " ").trim();
|
|
12059
|
+
if (narration === void 0 || narration === "") return void 0;
|
|
12060
|
+
return narration.length > NARRATION_MAX_CHARS ? `${narration.slice(0, NARRATION_MAX_CHARS - 1)}…` : narration;
|
|
11668
12061
|
}
|
|
11669
12062
|
/**
|
|
11670
12063
|
* The status word a child `turn/end` draws: the existing notice, or `done`.
|
|
@@ -11683,13 +12076,22 @@ function spinningTodos(view) {
|
|
|
11683
12076
|
return view.todos.filter((row) => row.status === "in_progress").map((row) => row.content);
|
|
11684
12077
|
}
|
|
11685
12078
|
/**
|
|
12079
|
+
* The descendant rows of one board draw that a spinner animates.
|
|
12080
|
+
* @param view - the rows one draw produced.
|
|
12081
|
+
* @returns the session id of every drawn running descendant, in draw order.
|
|
12082
|
+
*/
|
|
12083
|
+
function spinningSubagents(view) {
|
|
12084
|
+
return view.subagents.filter((child) => child.state === "running").map((child) => child.id);
|
|
12085
|
+
}
|
|
12086
|
+
/**
|
|
11686
12087
|
* Render the board. Todo rows lead with status-colored glyphs, an in-progress
|
|
11687
12088
|
* one with its spinner frame when one is given; completed content is dim and
|
|
11688
12089
|
* scratched out. A list past the cap ends on `+<n> more`.
|
|
11689
|
-
* The descendant
|
|
11690
|
-
*
|
|
12090
|
+
* The descendant rows are last, each with its own glyph, label, and note, and
|
|
12091
|
+
* a descendant list past the cap ends on its own `+<n> more`. An empty view
|
|
12092
|
+
* returns the empty string so the slot can unmount.
|
|
11691
12093
|
* @param view - the rows one draw produced.
|
|
11692
|
-
* @param render - the palette
|
|
12094
|
+
* @param render - the palette, the fades still moving, and the width.
|
|
11693
12095
|
* @returns the board text, or the empty string when nothing is drawn.
|
|
11694
12096
|
*/
|
|
11695
12097
|
function renderActivityBoard(view, render) {
|
|
@@ -11702,10 +12104,34 @@ function renderActivityBoard(view, render) {
|
|
|
11702
12104
|
lines.push(fadedLine(`${paint(glyph)} ${content}`, render.todoFades?.get(row.content)));
|
|
11703
12105
|
}
|
|
11704
12106
|
if (view.hidden > 0) lines.push(palette.dim(`+${String(view.hidden)} more`));
|
|
11705
|
-
|
|
12107
|
+
for (const child of view.subagents) lines.push(fadedLine(subagentLine(child, render), render.subagentFades?.get(child.id)));
|
|
12108
|
+
if (view.hiddenSubagents > 0) lines.push(palette.dim(`+${String(view.hiddenSubagents)} more subagents`));
|
|
11706
12109
|
return lines.join("\n");
|
|
11707
12110
|
}
|
|
11708
12111
|
/**
|
|
12112
|
+
* One descendant as a row that fits one terminal line: glyph, the label cut
|
|
12113
|
+
* to its share of the row, and the note in the room that is left.
|
|
12114
|
+
* @param child - the descendant row.
|
|
12115
|
+
* @param render - the palette, the running spinner frames, and the width.
|
|
12116
|
+
* @returns the styled row.
|
|
12117
|
+
*/
|
|
12118
|
+
function subagentLine(child, render) {
|
|
12119
|
+
const { palette } = render;
|
|
12120
|
+
const settled = child.state !== "running";
|
|
12121
|
+
const glyph = child.state === "running" ? palette.warning(render.subagentSpinners?.get(child.id) ?? TODO_GLYPH.in_progress) : child.state === "done" ? palette.success(SUBAGENT_SETTLED_GLYPH.done) : palette.error(SUBAGENT_SETTLED_GLYPH.stopped);
|
|
12122
|
+
const paintLabel = (text) => settled ? palette.dim(text) : text;
|
|
12123
|
+
const room = Math.max(0, render.width - 2);
|
|
12124
|
+
const note = child.note;
|
|
12125
|
+
const noteless = `${glyph} ${paintLabel(truncateToWidth(child.label, room, "…"))}`;
|
|
12126
|
+
if (note === void 0 || note === "") return noteless;
|
|
12127
|
+
const label = truncateToWidth(child.label, Math.max(LABEL_MIN_COLUMNS, Math.floor(room * LABEL_SHARE)), "…");
|
|
12128
|
+
const noteRoom = room - visibleWidth(label) - visibleWidth(NOTE_SEPARATOR);
|
|
12129
|
+
if (noteRoom < NOTE_MIN_COLUMNS) return noteless;
|
|
12130
|
+
const shown = truncateToWidth(note, noteRoom, "…");
|
|
12131
|
+
const paintNote = child.state === "stopped" ? palette.error : settled ? palette.dim : (text) => text;
|
|
12132
|
+
return `${glyph} ${paintLabel(label)}${palette.dim(NOTE_SEPARATOR)}${paintNote(shown)}`;
|
|
12133
|
+
}
|
|
12134
|
+
/**
|
|
11709
12135
|
* Draw one row at the mix its fade reports.
|
|
11710
12136
|
* @param text - the settled row.
|
|
11711
12137
|
* @param fade - the row's fade; absent for a row that never faded.
|
|
@@ -15268,7 +15694,7 @@ const LOCAL_COMMANDS = [
|
|
|
15268
15694
|
},
|
|
15269
15695
|
{
|
|
15270
15696
|
name: "team-play",
|
|
15271
|
-
description: "
|
|
15697
|
+
description: "Open the team room: each member's role and current work, the shared tasks, and the messages between them (Enter opens a teammate, f filters, Esc closes)"
|
|
15272
15698
|
},
|
|
15273
15699
|
{
|
|
15274
15700
|
name: "team",
|
|
@@ -15467,12 +15893,10 @@ var TuiApp = class {
|
|
|
15467
15893
|
activityTodoStatus = /* @__PURE__ */ new Map();
|
|
15468
15894
|
/** Fades of todo rows that are still moving, keyed by content. */
|
|
15469
15895
|
activityTodoFades = /* @__PURE__ */ new Map();
|
|
15470
|
-
/**
|
|
15471
|
-
|
|
15472
|
-
/**
|
|
15473
|
-
|
|
15474
|
-
/** The last descendant `tool/call` the board saw, for presenting its result. */
|
|
15475
|
-
activityChildCall;
|
|
15896
|
+
/** Descendant rows the activity board draws for the open turn, in first-seen order. */
|
|
15897
|
+
activitySubagents = /* @__PURE__ */ new Map();
|
|
15898
|
+
/** Fades of descendant rows that are still moving, keyed by child session id. */
|
|
15899
|
+
activitySubagentFades = /* @__PURE__ */ new Map();
|
|
15476
15900
|
/** The turn the last logged `turn/start` opened; 0 before the first one. */
|
|
15477
15901
|
turn = 0;
|
|
15478
15902
|
/** Whether a nonempty system prompt has already been drawn in this transcript. */
|
|
@@ -15498,7 +15922,7 @@ var TuiApp = class {
|
|
|
15498
15922
|
barSelection = FIRST_FOOTER_SEGMENT;
|
|
15499
15923
|
/** The descendant listing the last reconcile produced, in pre-order. */
|
|
15500
15924
|
subagentEntries = [];
|
|
15501
|
-
/** Lifecycle
|
|
15925
|
+
/** Lifecycle activity held until a fresh catalog confirms the named descendant. */
|
|
15502
15926
|
pendingSubagentActivity = /* @__PURE__ */ new Map();
|
|
15503
15927
|
/** The rows of the last panel draw. */
|
|
15504
15928
|
panelView = EMPTY_PANEL_VIEW;
|
|
@@ -15535,6 +15959,11 @@ var TuiApp = class {
|
|
|
15535
15959
|
*/
|
|
15536
15960
|
boardSpinners = /* @__PURE__ */ new Map();
|
|
15537
15961
|
/**
|
|
15962
|
+
* The phase each running descendant row the activity board last drew spins
|
|
15963
|
+
* at, by child session id; a row keeps its phase while the child runs.
|
|
15964
|
+
*/
|
|
15965
|
+
boardChildSpinners = /* @__PURE__ */ new Map();
|
|
15966
|
+
/**
|
|
15538
15967
|
* Whether the open turn has committed an assistant message, after which a
|
|
15539
15968
|
* user prompt reaching the log was steered or injected rather than opening
|
|
15540
15969
|
* the turn.
|
|
@@ -15560,11 +15989,11 @@ var TuiApp = class {
|
|
|
15560
15989
|
reader;
|
|
15561
15990
|
/** The empty-session card shown while Agent Teams is mounted. */
|
|
15562
15991
|
teamIntro;
|
|
15563
|
-
/** The
|
|
15992
|
+
/** The team room on the alternate screen, while one is open. */
|
|
15564
15993
|
teamPlay;
|
|
15565
15994
|
/**
|
|
15566
15995
|
* Team-relevant events of the bound session: the history at bind, then
|
|
15567
|
-
* events that arrive after it. `/team-play`
|
|
15996
|
+
* events that arrive after it. `/team-play` lists the exchanges in this log.
|
|
15568
15997
|
*/
|
|
15569
15998
|
teamLog = [];
|
|
15570
15999
|
/** Set while a paint of the open reader is already queued for this turn of the loop. */
|
|
@@ -15789,11 +16218,14 @@ var TuiApp = class {
|
|
|
15789
16218
|
}), ctx.on("subagent/start", (info) => {
|
|
15790
16219
|
this.markSubagentsStale();
|
|
15791
16220
|
this.refreshWorkflowChildLinks();
|
|
15792
|
-
this.noteSubagentActivity(info.id, "running");
|
|
16221
|
+
this.noteSubagentActivity(info.id, { state: "running" });
|
|
15793
16222
|
}), ctx.on("subagent/end", (info) => {
|
|
15794
16223
|
this.markSubagentsStale();
|
|
15795
16224
|
this.refreshWorkflowChildLinks();
|
|
15796
|
-
this.noteSubagentActivity(info.id,
|
|
16225
|
+
this.noteSubagentActivity(info.id, {
|
|
16226
|
+
state: info.stopReason === "completed" ? "done" : "stopped",
|
|
16227
|
+
note: info.stopReason === "completed" ? "done" : info.stopReason
|
|
16228
|
+
});
|
|
15797
16229
|
}), ctx.on("agent/inbox/inserted", ({ agent: subject }) => {
|
|
15798
16230
|
if (subject === this.agent) this.refreshQueue();
|
|
15799
16231
|
}), ctx.on("agent/inbox/claimed", ({ agent: subject }) => {
|
|
@@ -16039,7 +16471,7 @@ var TuiApp = class {
|
|
|
16039
16471
|
this.refreshWorkflowChildLinks();
|
|
16040
16472
|
if (reading) this.notice(READER_GONE);
|
|
16041
16473
|
this.refreshHeader();
|
|
16042
|
-
this.banner.setViews(this.viewLabels, this.asides.has(next) ? BTW_VIEW_TITLE : this.readOnlyViews.has(next) ? ONE_SHOT_VIEW_TITLE :
|
|
16474
|
+
this.banner.setViews(this.viewLabels, this.asides.has(next) ? BTW_VIEW_TITLE : this.readOnlyViews.has(next) ? ONE_SHOT_VIEW_TITLE : this.openTeammateTitle());
|
|
16043
16475
|
this.refreshQueue();
|
|
16044
16476
|
this.refreshFooter();
|
|
16045
16477
|
this.refreshSubagentPanel();
|
|
@@ -16306,26 +16738,41 @@ var TuiApp = class {
|
|
|
16306
16738
|
const title = this.deps.ctx.get("sessionTitle")?.get(session)?.title;
|
|
16307
16739
|
const name = title === void 0 ? `session ${session.id}` : `${title} ${palette.dim(`(${session.id})`)}`;
|
|
16308
16740
|
const teamsOn = this.parents.length === 0 && agentTeamsMounted(this.deps.ctx.get("agentTeams"));
|
|
16309
|
-
const
|
|
16741
|
+
const teammate = this.openTeammateTitle();
|
|
16742
|
+
const trail = this.parents.length === 0 ? palette.dim(teamsOn ? "· Agent Teams on · /team-play · /help" : "· /help for commands") : this.asides.has(this.bound) ? `${palette.accent(`◆ ${BTW_VIEW_TITLE}`)} ${paintKeys(palette, "· Ctrl+P ends it and returns")}` : teammate === void 0 ? `${palette.accent(`◆ subagent view ${"›".repeat(this.parents.length)}`)} ${paintKeys(palette, "· Ctrl+P returns")}` : `${palette.accent(`◆ ${teammate}`)} ${paintKeys(palette, "· Ctrl+P returns")}`;
|
|
16310
16743
|
this.header.setText(`${palette.bold(palette.accent("dsh"))} ${palette.dim("·")} ${name} ${trail}`);
|
|
16311
16744
|
this.tui.requestRender();
|
|
16312
16745
|
}
|
|
16313
16746
|
/**
|
|
16314
|
-
*
|
|
16315
|
-
*
|
|
16747
|
+
* What the open view calls the bound session when the team roster lists it
|
|
16748
|
+
* as a teammate.
|
|
16749
|
+
* @returns `teammate <name> · <role>`, or undefined for any other session.
|
|
16750
|
+
*/
|
|
16751
|
+
openTeammateTitle() {
|
|
16752
|
+
const id = this.agent.session.id;
|
|
16753
|
+
const member = this.teamMembers().find((row) => row.role === "teammate" && row.id === id);
|
|
16754
|
+
return member === void 0 ? void 0 : teammateViewTitle(member);
|
|
16755
|
+
}
|
|
16756
|
+
/**
|
|
16757
|
+
* What the team room draws right now: the roster and the shared tasks from
|
|
16758
|
+
* the service, the exchanges the bound session logged, and what each child
|
|
16759
|
+
* last narrated. A roster the service cannot read yields no members.
|
|
16760
|
+
* @returns the reads for one key or frame.
|
|
16316
16761
|
*/
|
|
16317
|
-
|
|
16762
|
+
teamRoomSource() {
|
|
16763
|
+
const snapshot = readTeam(this.deps.ctx.get("agentTeams"), this.agent);
|
|
16764
|
+
const members = snapshot.kind === "team" ? snapshot.members : [];
|
|
16318
16765
|
const names = this.scopedTeamToolNames();
|
|
16319
|
-
const
|
|
16320
|
-
|
|
16321
|
-
|
|
16322
|
-
|
|
16323
|
-
|
|
16324
|
-
|
|
16325
|
-
|
|
16326
|
-
|
|
16327
|
-
|
|
16328
|
-
|
|
16766
|
+
const speaker = members.find((row) => row.id === this.agent.session.id)?.name ?? "lead";
|
|
16767
|
+
return {
|
|
16768
|
+
members,
|
|
16769
|
+
tasks: snapshot.kind === "team" ? snapshot.tasks : [],
|
|
16770
|
+
beats: beatsFromEvents(this.teamLog.map((event) => ({
|
|
16771
|
+
type: event.type,
|
|
16772
|
+
data: event.data
|
|
16773
|
+
})), speaker, names.size > 0 ? names : void 0, new Map(members.map((row) => [row.id, row.name]))),
|
|
16774
|
+
note: (id) => this.activitySubagents.get(SessionId(id))?.note,
|
|
16775
|
+
spinner: (slot) => this.deps.reducedMotion ? void 0 : spinnerFrame(TOOL_SPINNERS.subagent, this.deps.now(), this.deps.spinnerMs, slot % 8)
|
|
16329
16776
|
};
|
|
16330
16777
|
}
|
|
16331
16778
|
/**
|
|
@@ -16335,24 +16782,19 @@ var TuiApp = class {
|
|
|
16335
16782
|
mountTeamIntro() {
|
|
16336
16783
|
if (this.parents.length > 0 || !agentTeamsMounted(this.deps.ctx.get("agentTeams"))) return;
|
|
16337
16784
|
if (this.teamLog.some((event) => event.type === "user/message" || event.type === "tool/call" || event.type === "assistant/message")) return;
|
|
16338
|
-
this.teamIntro = new TeamIntro(this.deps.palette
|
|
16785
|
+
this.teamIntro = new TeamIntro(this.deps.palette);
|
|
16339
16786
|
this.chat.addChild(this.teamIntro);
|
|
16340
|
-
this.updateSpinTicker();
|
|
16341
16787
|
this.tui.requestRender();
|
|
16342
16788
|
}
|
|
16343
|
-
/** Open the
|
|
16789
|
+
/** Open the team room on the alternate screen. */
|
|
16344
16790
|
openTeamPlay() {
|
|
16345
|
-
if (
|
|
16346
|
-
|
|
16347
|
-
|
|
16348
|
-
}
|
|
16349
|
-
if (this.reader !== void 0) this.dropReader();
|
|
16791
|
+
if (this.loadedTeam() === void 0) return;
|
|
16792
|
+
this.dropReader();
|
|
16793
|
+
/* v8 ignore next -- the open room consumes every key, so no second /team-play reaches here */
|
|
16350
16794
|
if (this.teamPlay !== void 0) return;
|
|
16351
16795
|
this.teamPlay = new TeamPlay({
|
|
16352
16796
|
palette: this.deps.palette,
|
|
16353
|
-
|
|
16354
|
-
beats: () => this.teamBeats().beats,
|
|
16355
|
-
example: () => this.teamBeats().example
|
|
16797
|
+
source: () => this.teamRoomSource()
|
|
16356
16798
|
});
|
|
16357
16799
|
this.tui.renderNow();
|
|
16358
16800
|
this.tui.suspend(() => {
|
|
@@ -16362,16 +16804,40 @@ var TuiApp = class {
|
|
|
16362
16804
|
this.paintTeamPlay();
|
|
16363
16805
|
this.updateSpinTicker();
|
|
16364
16806
|
}
|
|
16365
|
-
/** Draw the open
|
|
16807
|
+
/** Draw the open team room. */
|
|
16366
16808
|
paintTeamPlay() {
|
|
16367
16809
|
const play = this.teamPlay;
|
|
16368
16810
|
if (play === void 0 || !this.readerScreen.active) return;
|
|
16369
16811
|
const rows = Math.max(1, this.deps.terminal.rows);
|
|
16370
16812
|
this.readerScreen.paint(play.render(this.deps.terminal.columns, rows));
|
|
16371
16813
|
}
|
|
16372
|
-
/**
|
|
16373
|
-
|
|
16814
|
+
/**
|
|
16815
|
+
* Draw the open team room after the team changed, and keep the spinner tick
|
|
16816
|
+
* running exactly while a member works. A room that is not open is left alone.
|
|
16817
|
+
*/
|
|
16818
|
+
repaintTeamPlay() {
|
|
16374
16819
|
if (this.teamPlay === void 0) return;
|
|
16820
|
+
this.paintTeamPlay();
|
|
16821
|
+
this.updateSpinTicker();
|
|
16822
|
+
}
|
|
16823
|
+
/**
|
|
16824
|
+
* Answer one key while the team room holds the terminal: `Ctrl+C` and the
|
|
16825
|
+
* room's own close keys give the conversation its screen back, and `Enter`
|
|
16826
|
+
* on a teammate leaves the room for that teammate's session.
|
|
16827
|
+
* @param play - the open room.
|
|
16828
|
+
* @param data - the raw key bytes.
|
|
16829
|
+
*/
|
|
16830
|
+
onTeamPlayKey(play, data) {
|
|
16831
|
+
const action = matchesKey(data, "ctrl+c") ? { kind: "close" } : play.handleInput(data);
|
|
16832
|
+
if (action === void 0) {
|
|
16833
|
+
this.paintTeamPlay();
|
|
16834
|
+
return;
|
|
16835
|
+
}
|
|
16836
|
+
this.closeTeamPlay();
|
|
16837
|
+
if (action.kind === "open") this.navigate("teammate session", () => this.enterSubagent(action.choice, this.teamBrowseEntry(action.entry)));
|
|
16838
|
+
}
|
|
16839
|
+
/** Leave the team room and give the conversation its screen back. */
|
|
16840
|
+
closeTeamPlay() {
|
|
16375
16841
|
this.teamPlay = void 0;
|
|
16376
16842
|
this.readerScreen.leave();
|
|
16377
16843
|
this.tui.resume();
|
|
@@ -16380,8 +16846,8 @@ var TuiApp = class {
|
|
|
16380
16846
|
this.tui.requestRender();
|
|
16381
16847
|
}
|
|
16382
16848
|
/**
|
|
16383
|
-
* Take the
|
|
16384
|
-
*
|
|
16849
|
+
* Take the team room down without moving focus, for a session switch or a
|
|
16850
|
+
* quit. A room that is not open is left alone.
|
|
16385
16851
|
*/
|
|
16386
16852
|
dropTeamPlay() {
|
|
16387
16853
|
if (this.teamPlay === void 0) return;
|
|
@@ -16443,24 +16909,29 @@ var TuiApp = class {
|
|
|
16443
16909
|
}
|
|
16444
16910
|
/**
|
|
16445
16911
|
* Redraw the activity board above the editor from the open turn's todos and
|
|
16446
|
-
* the
|
|
16912
|
+
* the descendants it has seen. The slot is mounted exactly while a row
|
|
16447
16913
|
* draws, so the editor sits directly under follow-ups or the conversation
|
|
16448
16914
|
* the rest of the time.
|
|
16449
16915
|
*/
|
|
16450
16916
|
refreshActivityBoard() {
|
|
16451
16917
|
const view = activityBoardView({
|
|
16452
16918
|
todos: this.activityTodos,
|
|
16453
|
-
|
|
16919
|
+
subagents: [...this.activitySubagents.values()]
|
|
16454
16920
|
});
|
|
16455
|
-
this.syncBoardSpinners(this.deps.reducedMotion ? [] : spinningTodos(view));
|
|
16921
|
+
this.syncBoardSpinners(this.deps.reducedMotion ? [] : spinningTodos(view), this.deps.reducedMotion ? [] : spinningSubagents(view));
|
|
16456
16922
|
const now = this.deps.now();
|
|
16923
|
+
const frame = (phase) => spinnerFrame(TOOL_SPINNERS.todo, now, this.deps.spinnerMs, phase);
|
|
16457
16924
|
const spinners = /* @__PURE__ */ new Map();
|
|
16458
|
-
for (const [content, phase] of this.boardSpinners) spinners.set(content,
|
|
16925
|
+
for (const [content, phase] of this.boardSpinners) spinners.set(content, frame(phase));
|
|
16926
|
+
const subagentSpinners = /* @__PURE__ */ new Map();
|
|
16927
|
+
for (const [id, phase] of this.boardChildSpinners) subagentSpinners.set(id, frame(phase));
|
|
16459
16928
|
const text = renderActivityBoard(view, {
|
|
16460
16929
|
palette: this.deps.palette,
|
|
16461
16930
|
todoFades: this.activityTodoFades,
|
|
16462
|
-
|
|
16463
|
-
spinners
|
|
16931
|
+
subagentFades: this.activitySubagentFades,
|
|
16932
|
+
spinners,
|
|
16933
|
+
subagentSpinners,
|
|
16934
|
+
width: this.contentWidth()
|
|
16464
16935
|
});
|
|
16465
16936
|
this.updateSpinTicker();
|
|
16466
16937
|
const mounted = this.activitySlot.children.length > 0;
|
|
@@ -16473,17 +16944,25 @@ var TuiApp = class {
|
|
|
16473
16944
|
this.tui.requestRender();
|
|
16474
16945
|
}
|
|
16475
16946
|
/**
|
|
16476
|
-
* Keep the phase of each in-progress todo row
|
|
16477
|
-
* rest, and stagger a row that starts
|
|
16478
|
-
* indicator on screen.
|
|
16479
|
-
* @param contents - the content of each in-progress row the board draws now.
|
|
16947
|
+
* Keep the phase of each in-progress todo row and each running descendant
|
|
16948
|
+
* row that still spins, drop the rest, and stagger a row that starts
|
|
16949
|
+
* spinning against every other tool indicator on screen.
|
|
16950
|
+
* @param contents - the content of each in-progress todo row the board draws now.
|
|
16951
|
+
* @param children - the session id of each running descendant row the board draws now.
|
|
16480
16952
|
*/
|
|
16481
|
-
syncBoardSpinners(contents) {
|
|
16482
|
-
|
|
16483
|
-
|
|
16484
|
-
|
|
16485
|
-
|
|
16486
|
-
|
|
16953
|
+
syncBoardSpinners(contents, children) {
|
|
16954
|
+
this.keepSpinnerPhases(this.boardSpinners, contents);
|
|
16955
|
+
this.keepSpinnerPhases(this.boardChildSpinners, children);
|
|
16956
|
+
}
|
|
16957
|
+
/**
|
|
16958
|
+
* Keep the phases of the rows in `keys`, drop the others, and give each new
|
|
16959
|
+
* row a phase that differs from every spinner already drawn.
|
|
16960
|
+
* @param phases - the phase map of one kind of board row.
|
|
16961
|
+
* @param keys - the rows of that kind that spin now.
|
|
16962
|
+
*/
|
|
16963
|
+
keepSpinnerPhases(phases, keys) {
|
|
16964
|
+
for (const key of phases.keys()) if (!keys.includes(key)) phases.delete(key);
|
|
16965
|
+
for (const key of keys) if (!phases.has(key)) phases.set(key, staggerPhase(this.spinningPhases("todo")));
|
|
16487
16966
|
}
|
|
16488
16967
|
/**
|
|
16489
16968
|
* Replace the board's todos from the same `todos` projection `/todos` reads
|
|
@@ -16510,29 +16989,48 @@ var TuiApp = class {
|
|
|
16510
16989
|
this.refreshActivityBoard();
|
|
16511
16990
|
}
|
|
16512
16991
|
/**
|
|
16513
|
-
* Replace
|
|
16514
|
-
*
|
|
16515
|
-
|
|
16516
|
-
|
|
16517
|
-
|
|
16518
|
-
|
|
16519
|
-
|
|
16520
|
-
|
|
16521
|
-
|
|
16992
|
+
* Replace one descendant's row, fading it when its text changed. A new
|
|
16993
|
+
* descendant takes the place after the rows already drawn.
|
|
16994
|
+
* @param id - the descendant session id.
|
|
16995
|
+
* @param activity - the row's state and note.
|
|
16996
|
+
*/
|
|
16997
|
+
setActivitySubagent(id, activity) {
|
|
16998
|
+
const previous = this.activitySubagents.get(id);
|
|
16999
|
+
const next = {
|
|
17000
|
+
id,
|
|
17001
|
+
label: this.activityLabelFor(id),
|
|
17002
|
+
state: activity.state,
|
|
17003
|
+
...activity.note === void 0 ? {} : { note: activity.note }
|
|
17004
|
+
};
|
|
17005
|
+
this.activitySubagents.set(id, next);
|
|
17006
|
+
if (previous?.label !== next.label || previous.state !== next.state || previous.note !== next.note) {
|
|
17007
|
+
this.activitySubagentFades.delete(id);
|
|
16522
17008
|
this.fadeBlock((fade) => {
|
|
16523
|
-
this.
|
|
17009
|
+
this.activitySubagentFades.set(id, fade);
|
|
16524
17010
|
});
|
|
16525
17011
|
}
|
|
16526
17012
|
this.refreshActivityBoard();
|
|
16527
17013
|
}
|
|
17014
|
+
/**
|
|
17015
|
+
* Relabel the board's descendant rows from the current roster, so a member
|
|
17016
|
+
* that joined after its row was drawn stops drawing under its listing label.
|
|
17017
|
+
*/
|
|
17018
|
+
relabelActivityBoard() {
|
|
17019
|
+
for (const [id, row] of this.activitySubagents) {
|
|
17020
|
+
if (this.activityLabelFor(id) === row.label) continue;
|
|
17021
|
+
this.setActivitySubagent(id, {
|
|
17022
|
+
state: row.state,
|
|
17023
|
+
...row.note === void 0 ? {} : { note: row.note }
|
|
17024
|
+
});
|
|
17025
|
+
}
|
|
17026
|
+
}
|
|
16528
17027
|
/** Drop the open-turn board so bind and turn edges leave no stale rows. */
|
|
16529
17028
|
clearActivityBoard() {
|
|
16530
17029
|
this.activityTodos = [];
|
|
16531
17030
|
this.activityTodoStatus = /* @__PURE__ */ new Map();
|
|
16532
17031
|
this.activityTodoFades = /* @__PURE__ */ new Map();
|
|
16533
|
-
this.
|
|
16534
|
-
this.
|
|
16535
|
-
this.activityChildCall = void 0;
|
|
17032
|
+
this.activitySubagents = /* @__PURE__ */ new Map();
|
|
17033
|
+
this.activitySubagentFades = /* @__PURE__ */ new Map();
|
|
16536
17034
|
this.pendingSubagentActivity.clear();
|
|
16537
17035
|
this.refreshActivityBoard();
|
|
16538
17036
|
}
|
|
@@ -16541,7 +17039,7 @@ var TuiApp = class {
|
|
|
16541
17039
|
* session. Session lineage also represents ordinary forks, so it cannot
|
|
16542
17040
|
* establish subagent membership.
|
|
16543
17041
|
* @param id - the session id a lifecycle event named.
|
|
16544
|
-
* @returns true when the activity board may show that child's
|
|
17042
|
+
* @returns true when the activity board may show that child's row.
|
|
16545
17043
|
*/
|
|
16546
17044
|
isBoundDescendantId(id) {
|
|
16547
17045
|
return this.subagentEntries.some((entry) => entry.id === id);
|
|
@@ -16555,76 +17053,64 @@ var TuiApp = class {
|
|
|
16555
17053
|
return this.isBoundDescendantId(session.id);
|
|
16556
17054
|
}
|
|
16557
17055
|
/**
|
|
16558
|
-
* The
|
|
16559
|
-
*
|
|
17056
|
+
* The board's label for a descendant: `<name> · <role>` for a team roster
|
|
17057
|
+
* member, else the listing label, or its session id when the listing has
|
|
17058
|
+
* not named it. External work has no local Session, so the line says so.
|
|
16560
17059
|
* @param id - the descendant session id.
|
|
16561
17060
|
* @returns the board's label for that child.
|
|
16562
17061
|
*/
|
|
16563
17062
|
activityLabelFor(id) {
|
|
17063
|
+
const member = this.teamMembers().find((row) => row.id === id);
|
|
17064
|
+
if (member !== void 0) return memberLabel(member);
|
|
16564
17065
|
const entry = this.subagentEntries.find((candidate) => candidate.id === id);
|
|
16565
17066
|
if (entry?.kind !== "child") return id;
|
|
16566
17067
|
const label = entry.label ?? id;
|
|
16567
17068
|
return entry.mode === "external" ? `${label} (external task)` : label;
|
|
16568
17069
|
}
|
|
16569
17070
|
/**
|
|
16570
|
-
* Draw a lifecycle
|
|
17071
|
+
* Draw a lifecycle edge once a catalog confirms its descendant membership.
|
|
16571
17072
|
* @param id - child identity carried by the lifecycle edge.
|
|
16572
|
-
* @param
|
|
17073
|
+
* @param activity - the row the edge's start or end gives the activity board.
|
|
16573
17074
|
*/
|
|
16574
|
-
noteSubagentActivity(id,
|
|
16575
|
-
this.pendingSubagentActivity.set(id,
|
|
17075
|
+
noteSubagentActivity(id, activity) {
|
|
17076
|
+
this.pendingSubagentActivity.set(id, activity);
|
|
16576
17077
|
this.flushPendingSubagentActivity();
|
|
16577
17078
|
}
|
|
16578
|
-
/** Apply pending lifecycle
|
|
17079
|
+
/** Apply pending lifecycle activity only to ids the current catalog owns. */
|
|
16579
17080
|
flushPendingSubagentActivity() {
|
|
16580
17081
|
for (const [id, activity] of this.pendingSubagentActivity) {
|
|
16581
17082
|
if (!this.isBoundDescendantId(id)) continue;
|
|
16582
|
-
this.setActivitySubagent(
|
|
16583
|
-
label: this.activityLabelFor(id),
|
|
16584
|
-
status: activity.status
|
|
16585
|
-
});
|
|
17083
|
+
this.setActivitySubagent(id, activity);
|
|
16586
17084
|
this.pendingSubagentActivity.delete(id);
|
|
16587
17085
|
}
|
|
16588
17086
|
}
|
|
16589
17087
|
/**
|
|
16590
|
-
*
|
|
16591
|
-
*
|
|
17088
|
+
* Update a descendant's row from its session events: a turn opens it, an
|
|
17089
|
+
* assistant message's last sentence becomes its note, and a turn end
|
|
17090
|
+
* settles it. Tool calls and results, reasoning, and a message without
|
|
17091
|
+
* text leave the note alone, so a child that has not spoken draws its label
|
|
17092
|
+
* alone.
|
|
16592
17093
|
* @param session - the descendant that logged `event`.
|
|
16593
17094
|
* @param event - the durable event.
|
|
16594
17095
|
*/
|
|
16595
17096
|
onDescendantActivity(session, event) {
|
|
16596
17097
|
switch (event.type) {
|
|
16597
|
-
case "
|
|
16598
|
-
|
|
16599
|
-
const args = parseArguments(argumentsJson);
|
|
16600
|
-
this.activityChildCall = {
|
|
16601
|
-
name,
|
|
16602
|
-
args
|
|
16603
|
-
};
|
|
16604
|
-
const view = args === void 0 ? void 0 : this.presentCall(name, args);
|
|
16605
|
-
const title = view === void 0 ? void 0 : cardHeadline(name, view.title);
|
|
16606
|
-
this.setActivitySubagent({
|
|
16607
|
-
label: this.activityLabelFor(session.id),
|
|
16608
|
-
status: callingActivity(name),
|
|
16609
|
-
...title === void 0 ? {} : { summary: title }
|
|
16610
|
-
});
|
|
17098
|
+
case "turn/start":
|
|
17099
|
+
this.setActivitySubagent(session.id, { state: "running" });
|
|
16611
17100
|
return;
|
|
16612
|
-
|
|
16613
|
-
|
|
16614
|
-
|
|
16615
|
-
|
|
16616
|
-
|
|
16617
|
-
const view = this.presentResult(call?.name ?? "", call?.args, result.content, result.isError === true, event.data.meta);
|
|
16618
|
-
this.setActivitySubagent({
|
|
16619
|
-
label: this.activityLabelFor(session.id),
|
|
16620
|
-
...activityResultParts(toolResultBody(view, result.content).lines[0], result.isError === true)
|
|
17101
|
+
case "assistant/message": {
|
|
17102
|
+
const narration = activityNarration(event.data.message.content.filter((block) => block.type === "text").map((block) => block.text).join(""));
|
|
17103
|
+
if (narration !== void 0) this.setActivitySubagent(session.id, {
|
|
17104
|
+
state: "running",
|
|
17105
|
+
note: narration
|
|
16621
17106
|
});
|
|
17107
|
+
else if (this.activitySubagents.get(session.id)?.state !== "running") this.setActivitySubagent(session.id, { state: "running" });
|
|
16622
17108
|
return;
|
|
16623
17109
|
}
|
|
16624
17110
|
case "turn/end":
|
|
16625
|
-
this.setActivitySubagent({
|
|
16626
|
-
|
|
16627
|
-
|
|
17111
|
+
this.setActivitySubagent(session.id, {
|
|
17112
|
+
state: event.data.reason.kind === "completed" ? "done" : "stopped",
|
|
17113
|
+
note: activityTurnEndStatus(event.data.reason)
|
|
16628
17114
|
});
|
|
16629
17115
|
return;
|
|
16630
17116
|
default: return;
|
|
@@ -16643,12 +17129,15 @@ var TuiApp = class {
|
|
|
16643
17129
|
* Redraw the panel from the last listing and a fresh sample of the live
|
|
16644
17130
|
* facts. The panel is mounted exactly while it has a row, so the last
|
|
16645
17131
|
* resident child leaving takes the panel with it — and the keyboard back to
|
|
16646
|
-
* the editor when the panel held it.
|
|
17132
|
+
* the editor when the panel held it. Team roster members are not rows: the
|
|
17133
|
+
* team line and the activity board account for them.
|
|
16647
17134
|
*/
|
|
16648
17135
|
refreshSubagentPanel() {
|
|
17136
|
+
const members = new Set(this.teamMembers().map((member) => member.id));
|
|
17137
|
+
const entries = this.subagentEntries.filter((entry) => !members.has(entry.id));
|
|
16649
17138
|
const view = subagentPanelView({
|
|
16650
|
-
entries
|
|
16651
|
-
facts: this.subagentFacts(),
|
|
17139
|
+
entries,
|
|
17140
|
+
facts: this.subagentFacts(entries),
|
|
16652
17141
|
now: this.deps.now()
|
|
16653
17142
|
});
|
|
16654
17143
|
this.panelView = view;
|
|
@@ -16677,10 +17166,10 @@ var TuiApp = class {
|
|
|
16677
17166
|
this.tui.requestRender();
|
|
16678
17167
|
}
|
|
16679
17168
|
/**
|
|
16680
|
-
* Redraw the team summary from the optional service. `auto` draws the
|
|
16681
|
-
*
|
|
16682
|
-
*
|
|
16683
|
-
*
|
|
17169
|
+
* Redraw the team summary from the optional service. `auto` draws the line
|
|
17170
|
+
* only when a teammate or a shared task exists, `on` forces the line, and
|
|
17171
|
+
* `off` hides it. The summary stays ahead of the subagent panel when both
|
|
17172
|
+
* are mounted.
|
|
16684
17173
|
*/
|
|
16685
17174
|
refreshTeamPanel() {
|
|
16686
17175
|
const snapshot = readTeam(this.deps.ctx.get("agentTeams"), this.agent);
|
|
@@ -16688,12 +17177,31 @@ var TuiApp = class {
|
|
|
16688
17177
|
this.mountTeamLine(teamPanelLine({
|
|
16689
17178
|
members: roster === void 0 ? [] : roster.members,
|
|
16690
17179
|
tasks: roster === void 0 ? [] : roster.tasks,
|
|
17180
|
+
width: this.contentWidth(),
|
|
16691
17181
|
hidden: this.teamPanelMode === "off",
|
|
16692
17182
|
forced: this.teamPanelMode === "on"
|
|
16693
17183
|
}, this.deps.palette));
|
|
16694
17184
|
this.tui.requestRender();
|
|
16695
17185
|
}
|
|
16696
17186
|
/**
|
|
17187
|
+
* Redraw every surface that reads the team roster after a `team/` event:
|
|
17188
|
+
* the summary, the subagent panel that leaves members out, and the board
|
|
17189
|
+
* labels of members that joined after their rows were drawn.
|
|
17190
|
+
*/
|
|
17191
|
+
refreshTeamSurfaces() {
|
|
17192
|
+
this.refreshTeamPanel();
|
|
17193
|
+
this.refreshSubagentPanel();
|
|
17194
|
+
this.relabelActivityBoard();
|
|
17195
|
+
}
|
|
17196
|
+
/**
|
|
17197
|
+
* The roster rows of the bound session's team.
|
|
17198
|
+
* @returns the members, the lead included; empty when Agent Teams is absent or the bound session is not on a team.
|
|
17199
|
+
*/
|
|
17200
|
+
teamMembers() {
|
|
17201
|
+
const snapshot = readTeam(this.deps.ctx.get("agentTeams"), this.agent);
|
|
17202
|
+
return snapshot.kind === "team" ? snapshot.members : [];
|
|
17203
|
+
}
|
|
17204
|
+
/**
|
|
16697
17205
|
* Mount or clear the team summary without touching the subagent panel.
|
|
16698
17206
|
* An empty line removes only the summary. A new line is inserted ahead of
|
|
16699
17207
|
* the subagent panel when that panel is already mounted.
|
|
@@ -16784,7 +17292,8 @@ var TuiApp = class {
|
|
|
16784
17292
|
else if (argument === "") {
|
|
16785
17293
|
const showing = this.teamPanelMode === "on" || this.teamPanelMode === "auto" && teamPanelLine({
|
|
16786
17294
|
members: snapshot.members,
|
|
16787
|
-
tasks: snapshot.tasks
|
|
17295
|
+
tasks: snapshot.tasks,
|
|
17296
|
+
width: this.contentWidth()
|
|
16788
17297
|
}, this.deps.palette) !== "";
|
|
16789
17298
|
this.teamPanelMode = showing ? "off" : "on";
|
|
16790
17299
|
} else {
|
|
@@ -16798,14 +17307,15 @@ var TuiApp = class {
|
|
|
16798
17307
|
* its Agent is running a turn, and one projection read for its timing and
|
|
16799
17308
|
* token totals. Both reads are synchronous and touch no session log; a
|
|
16800
17309
|
* child with no live Agent here contributes no facts.
|
|
17310
|
+
* @param entries - the listing entries the panel draws from.
|
|
16801
17311
|
* @returns the facts by child session id.
|
|
16802
17312
|
*/
|
|
16803
|
-
subagentFacts() {
|
|
17313
|
+
subagentFacts(entries) {
|
|
16804
17314
|
const facts = /* @__PURE__ */ new Map();
|
|
16805
17315
|
const { ctx } = this.deps;
|
|
16806
17316
|
const agents = ctx.get("agents");
|
|
16807
17317
|
const projections = ctx.get("sessionProjections");
|
|
16808
|
-
for (const entry of
|
|
17318
|
+
for (const entry of entries) {
|
|
16809
17319
|
const child = agents?.get(entry.id);
|
|
16810
17320
|
if (child === void 0) continue;
|
|
16811
17321
|
const live = { running: child.status === "running" };
|
|
@@ -17506,12 +18016,11 @@ var TuiApp = class {
|
|
|
17506
18016
|
this.contextUsageBlock = void 0;
|
|
17507
18017
|
}
|
|
17508
18018
|
currentSelection(bound = this.bound) {
|
|
17509
|
-
const
|
|
17510
|
-
const selected = selection.current ?? agent.session.requestHeader()?.config;
|
|
18019
|
+
const selected = bound.agent.model.current();
|
|
17511
18020
|
if (selected !== void 0) return selected;
|
|
17512
18021
|
return {
|
|
17513
|
-
provider: agent.options.provider ?? "default",
|
|
17514
|
-
model: agent.options.model ?? "default"
|
|
18022
|
+
provider: bound.agent.options.provider ?? "default",
|
|
18023
|
+
model: bound.agent.options.model ?? "default"
|
|
17515
18024
|
};
|
|
17516
18025
|
}
|
|
17517
18026
|
/**
|
|
@@ -17540,8 +18049,7 @@ var TuiApp = class {
|
|
|
17540
18049
|
return { consume: true };
|
|
17541
18050
|
}
|
|
17542
18051
|
if (this.teamPlay !== void 0 && this.readerScreen.active) {
|
|
17543
|
-
|
|
17544
|
-
else this.paintTeamPlay();
|
|
18052
|
+
this.onTeamPlayKey(this.teamPlay, data);
|
|
17545
18053
|
return { consume: true };
|
|
17546
18054
|
}
|
|
17547
18055
|
const reading = this.reader;
|
|
@@ -18803,7 +19311,7 @@ var TuiApp = class {
|
|
|
18803
19311
|
running?.abort();
|
|
18804
19312
|
}
|
|
18805
19313
|
async chooseModel(argument) {
|
|
18806
|
-
const
|
|
19314
|
+
const bound = this.bound;
|
|
18807
19315
|
if (argument === "save") {
|
|
18808
19316
|
await this.saveDefaultModel(this.currentSelection());
|
|
18809
19317
|
return;
|
|
@@ -18839,10 +19347,10 @@ var TuiApp = class {
|
|
|
18839
19347
|
const effort = await this.chooseEffort(next);
|
|
18840
19348
|
if (effort === null) return;
|
|
18841
19349
|
this.cancelEffortOperation();
|
|
18842
|
-
|
|
19350
|
+
bound.agent.model.select(effort === void 0 ? next : {
|
|
18843
19351
|
...next,
|
|
18844
19352
|
reasoningEffort: effort
|
|
18845
|
-
};
|
|
19353
|
+
});
|
|
18846
19354
|
this.notice(`model: ${next.provider}/${next.model}${effort === void 0 ? "" : ` · effort ${effort}`} from the next request`, "success");
|
|
18847
19355
|
this.refreshFooter();
|
|
18848
19356
|
}
|
|
@@ -18901,13 +19409,17 @@ var TuiApp = class {
|
|
|
18901
19409
|
}
|
|
18902
19410
|
/**
|
|
18903
19411
|
* Whether current-model effort work lost either its session or selection.
|
|
19412
|
+
* `agent.model.current()` returns a detached value, so the selection is the
|
|
19413
|
+
* same one only while provider, model, and explicit effort all agree; an
|
|
19414
|
+
* absent effort is its own value.
|
|
18904
19415
|
* @param bound - the session binding that started the work.
|
|
18905
|
-
* @param selected -
|
|
19416
|
+
* @param selected - the selection the binding read when the work began.
|
|
18906
19417
|
* @param signal - cancellation owned by the effort operation.
|
|
18907
19418
|
* @returns true when applying the result would overwrite newer state.
|
|
18908
19419
|
*/
|
|
18909
19420
|
effortAbandoned(bound, selected, signal) {
|
|
18910
|
-
|
|
19421
|
+
const current = bound.agent.model.current();
|
|
19422
|
+
return !(selected === void 0 ? current === void 0 : current !== void 0 && current.provider === selected.provider && current.model === selected.model && current.reasoningEffort === selected.reasoningEffort) || this.operationAbandoned(bound, signal);
|
|
18911
19423
|
}
|
|
18912
19424
|
/**
|
|
18913
19425
|
* Run one current-model effort command; equal active arguments share it and
|
|
@@ -18939,7 +19451,7 @@ var TuiApp = class {
|
|
|
18939
19451
|
* @param signal - withdraws an empty-argument picker when the session changes.
|
|
18940
19452
|
*/
|
|
18941
19453
|
async chooseCurrentEffort(argument, bound, signal) {
|
|
18942
|
-
const selected = bound.
|
|
19454
|
+
const selected = bound.agent.model.current();
|
|
18943
19455
|
const current = this.currentSelection(bound);
|
|
18944
19456
|
const lookup = await this.lookupEfforts(current);
|
|
18945
19457
|
if (this.effortAbandoned(bound, selected, signal)) return;
|
|
@@ -19014,14 +19526,14 @@ var TuiApp = class {
|
|
|
19014
19526
|
* @param effort - the chosen effort, or undefined for the provider default.
|
|
19015
19527
|
*/
|
|
19016
19528
|
applyEffort(model, effort) {
|
|
19017
|
-
this.bound.
|
|
19529
|
+
this.bound.agent.model.select(effort === void 0 ? {
|
|
19018
19530
|
provider: model.provider,
|
|
19019
19531
|
model: model.model
|
|
19020
19532
|
} : {
|
|
19021
19533
|
provider: model.provider,
|
|
19022
19534
|
model: model.model,
|
|
19023
19535
|
reasoningEffort: effort
|
|
19024
|
-
};
|
|
19536
|
+
});
|
|
19025
19537
|
this.notice(effort === void 0 ? "effort: provider default from the next request" : `effort ${effort} from the next request`, "success");
|
|
19026
19538
|
this.refreshFooter();
|
|
19027
19539
|
}
|
|
@@ -19536,15 +20048,15 @@ var TuiApp = class {
|
|
|
19536
20048
|
}
|
|
19537
20049
|
/**
|
|
19538
20050
|
* The phases of the indicators of `family` spinning right now: running
|
|
19539
|
-
* cards of that family, and the activity board's in-progress todo rows
|
|
19540
|
-
* when `family` is `todo`.
|
|
20051
|
+
* cards of that family, and the activity board's in-progress todo rows and
|
|
20052
|
+
* running descendant rows when `family` is `todo`.
|
|
19541
20053
|
* @param family - the animation those indicators draw.
|
|
19542
20054
|
* @returns one phase per spinning indicator of that family.
|
|
19543
20055
|
*/
|
|
19544
20056
|
spinningPhases(family) {
|
|
19545
20057
|
const phases = [];
|
|
19546
20058
|
for (const [block, phase] of this.spinners) if (block.spinning() && toolFamily(block.name) === family) phases.push(phase);
|
|
19547
|
-
if (family === "todo") phases.push(...this.boardSpinners.values());
|
|
20059
|
+
if (family === "todo") phases.push(...this.boardSpinners.values(), ...this.boardChildSpinners.values());
|
|
19548
20060
|
return phases;
|
|
19549
20061
|
}
|
|
19550
20062
|
/**
|
|
@@ -19561,8 +20073,8 @@ var TuiApp = class {
|
|
|
19561
20073
|
* stopped app runs none.
|
|
19562
20074
|
*/
|
|
19563
20075
|
updateSpinTicker() {
|
|
19564
|
-
const spinning = this.streaming?.spinning() === true || this.spinners.size > 0 || this.boardSpinners.size > 0 || this.workflowSpinners.size > 0;
|
|
19565
|
-
const teamMotion =
|
|
20076
|
+
const spinning = this.streaming?.spinning() === true || this.spinners.size > 0 || this.boardSpinners.size > 0 || this.boardChildSpinners.size > 0 || this.workflowSpinners.size > 0;
|
|
20077
|
+
const teamMotion = this.teamPlay?.animates() === true;
|
|
19566
20078
|
if (!this.stopped && (this.loaderAnimates() || spinning || teamMotion)) {
|
|
19567
20079
|
this.spinTicker ??= this.deps.tick(() => {
|
|
19568
20080
|
this.onSpinTick();
|
|
@@ -19584,15 +20096,8 @@ var TuiApp = class {
|
|
|
19584
20096
|
for (const block of this.spinners.keys()) if (!block.spinning()) this.spinners.delete(block);
|
|
19585
20097
|
for (const block of this.workflowSpinners) if (!block.spinning()) this.workflowSpinners.delete(block);
|
|
19586
20098
|
if (this.loaderAnimates()) this.refreshLoader();
|
|
19587
|
-
|
|
19588
|
-
|
|
19589
|
-
this.tui.requestRender();
|
|
19590
|
-
}
|
|
19591
|
-
if (this.teamPlay !== void 0) {
|
|
19592
|
-
this.teamPlay.advance();
|
|
19593
|
-
this.paintTeamPlay();
|
|
19594
|
-
}
|
|
19595
|
-
if (this.boardSpinners.size > 0) this.refreshActivityBoard();
|
|
20099
|
+
this.paintTeamPlay();
|
|
20100
|
+
if (this.boardSpinners.size > 0 || this.boardChildSpinners.size > 0) this.refreshActivityBoard();
|
|
19596
20101
|
else if (this.streaming?.spinning() === true || this.spinners.size > 0 || this.workflowSpinners.size > 0) this.tui.requestRender();
|
|
19597
20102
|
this.updateSpinTicker();
|
|
19598
20103
|
}
|
|
@@ -19871,16 +20376,17 @@ var TuiApp = class {
|
|
|
19871
20376
|
onSessionEvent(session, event) {
|
|
19872
20377
|
if (!this.replaying && session === this.agent.session) {
|
|
19873
20378
|
this.teamLog.push(event);
|
|
19874
|
-
|
|
20379
|
+
this.repaintTeamPlay();
|
|
19875
20380
|
}
|
|
19876
20381
|
if (session !== this.agent.session) {
|
|
19877
20382
|
this.markSubagentsStale();
|
|
19878
20383
|
if (this.isBoundDescendant(session)) this.onDescendantActivity(session, event);
|
|
20384
|
+
this.repaintTeamPlay();
|
|
19879
20385
|
return;
|
|
19880
20386
|
}
|
|
19881
20387
|
this.pacer?.flush();
|
|
19882
20388
|
const loggedType = event.type;
|
|
19883
|
-
if (isTeamPanelEvent(loggedType)) this.
|
|
20389
|
+
if (isTeamPanelEvent(loggedType)) this.refreshTeamSurfaces();
|
|
19884
20390
|
const compaction = this.compactions.observe(event, this.turn);
|
|
19885
20391
|
if (compaction !== void 0) this.showCompaction(compaction);
|
|
19886
20392
|
switch (event.type) {
|
|
@@ -20690,11 +21196,25 @@ async function forkSeed(ctx, id, turn) {
|
|
|
20690
21196
|
}
|
|
20691
21197
|
}
|
|
20692
21198
|
/**
|
|
21199
|
+
* The AgentOptions that carry one selection as the Agent's initial route.
|
|
21200
|
+
* @param selection - the provider, model, and optional explicit effort.
|
|
21201
|
+
* @returns AgentOptions naming the same route.
|
|
21202
|
+
*/
|
|
21203
|
+
function agentOptionsFor(selection) {
|
|
21204
|
+
return {
|
|
21205
|
+
provider: selection.provider,
|
|
21206
|
+
model: selection.model,
|
|
21207
|
+
...selection.reasoningEffort === void 0 ? {} : { reasoningEffort: selection.reasoningEffort }
|
|
21208
|
+
};
|
|
21209
|
+
}
|
|
21210
|
+
/**
|
|
20693
21211
|
* The terminal's session host over the core Agent registry. Every Agent gets
|
|
20694
|
-
* the model
|
|
20695
|
-
*
|
|
20696
|
-
*
|
|
20697
|
-
*
|
|
21212
|
+
* the model-switch notice installed, so `/model` writes the durable selection
|
|
21213
|
+
* through `agent.model` and the notice names the new route on the next
|
|
21214
|
+
* admitted request. Each operation supplies its initial route as AgentOptions:
|
|
21215
|
+
* create and fork use the requested or default selection, resume uses the
|
|
21216
|
+
* launch default and lets the session projection replay the route recorded in
|
|
21217
|
+
* the log, and aside uses the parent's current selection.
|
|
20698
21218
|
* @param ctx - plugin context.
|
|
20699
21219
|
* @param core - the injected services.
|
|
20700
21220
|
* @param cwd - the workspace root recorded on new sessions.
|
|
@@ -20703,25 +21223,20 @@ async function forkSeed(ctx, id, turn) {
|
|
|
20703
21223
|
*/
|
|
20704
21224
|
function sessionHost(ctx, core, cwd, btw) {
|
|
20705
21225
|
const { agents, defaultModel } = core;
|
|
21226
|
+
const agentSetup = (agentCtx) => {
|
|
21227
|
+
installModelSelection(agentCtx);
|
|
21228
|
+
};
|
|
20706
21229
|
const bind = async (open, history) => {
|
|
20707
|
-
const
|
|
20708
|
-
current: void 0,
|
|
20709
|
-
assembled: void 0
|
|
20710
|
-
};
|
|
20711
|
-
const handle = await open(selection, (agentCtx) => {
|
|
20712
|
-
installModelSelection(agentCtx, selection);
|
|
20713
|
-
});
|
|
21230
|
+
const handle = await open(agentSetup);
|
|
20714
21231
|
await handle.agent.whenIdle();
|
|
20715
21232
|
return {
|
|
20716
21233
|
agent: handle.agent,
|
|
20717
|
-
selection,
|
|
20718
21234
|
history,
|
|
20719
21235
|
dispose: () => handle.dispose()
|
|
20720
21236
|
};
|
|
20721
21237
|
};
|
|
20722
|
-
const create = (seed, parent, initialSelection) => bind((
|
|
21238
|
+
const create = (seed, parent, initialSelection) => bind((setup) => {
|
|
20723
21239
|
const model = initialSelection ?? defaultModel.currentSelection();
|
|
20724
|
-
selection.current = model;
|
|
20725
21240
|
return agents.create({
|
|
20726
21241
|
sessionId: brandString(`session-${randomUUID()}`),
|
|
20727
21242
|
...seed === void 0 ? {} : {
|
|
@@ -20735,35 +21250,20 @@ function sessionHost(ctx, core, cwd, btw) {
|
|
|
20735
21250
|
isSeeded: true
|
|
20736
21251
|
}
|
|
20737
21252
|
},
|
|
20738
|
-
agentOptions:
|
|
20739
|
-
provider: model.provider,
|
|
20740
|
-
model: model.model,
|
|
20741
|
-
...model.reasoningEffort === void 0 ? {} : { reasoningEffort: model.reasoningEffort }
|
|
20742
|
-
},
|
|
21253
|
+
agentOptions: agentOptionsFor(model),
|
|
20743
21254
|
setup
|
|
20744
21255
|
});
|
|
20745
21256
|
}, seed ?? []);
|
|
20746
21257
|
const resume = async (id) => {
|
|
20747
|
-
const
|
|
20748
|
-
const selection = {
|
|
20749
|
-
current: fallback,
|
|
20750
|
-
assembled: void 0
|
|
20751
|
-
};
|
|
21258
|
+
const launch = defaultModel.currentSelection();
|
|
20752
21259
|
const handle = await agents.resume({
|
|
20753
21260
|
resumeSessionId: id,
|
|
20754
|
-
agentOptions:
|
|
20755
|
-
|
|
20756
|
-
model: fallback.model
|
|
20757
|
-
},
|
|
20758
|
-
setup: (agentCtx, agent) => {
|
|
20759
|
-
selection.current = resumeModelSelection(agent.session.requestHeader(), fallback);
|
|
20760
|
-
installModelSelection(agentCtx, selection);
|
|
20761
|
-
}
|
|
21261
|
+
agentOptions: agentOptionsFor(launch),
|
|
21262
|
+
setup: agentSetup
|
|
20762
21263
|
});
|
|
20763
21264
|
await handle.agent.whenIdle();
|
|
20764
21265
|
return {
|
|
20765
21266
|
agent: handle.agent,
|
|
20766
|
-
selection,
|
|
20767
21267
|
history: await observeBoundHistory(ctx, id),
|
|
20768
21268
|
dispose: () => handle.dispose()
|
|
20769
21269
|
};
|
|
@@ -20793,9 +21293,8 @@ function sessionHost(ctx, core, cwd, btw) {
|
|
|
20793
21293
|
}
|
|
20794
21294
|
}
|
|
20795
21295
|
const { seed, inheritedEventCount } = btwSeed(events);
|
|
20796
|
-
const model =
|
|
20797
|
-
const aside = await bind((
|
|
20798
|
-
selection.current = model;
|
|
21296
|
+
const model = parent.agent.model.current() ?? defaultModel.currentSelection();
|
|
21297
|
+
const aside = await bind((setup) => {
|
|
20799
21298
|
/* v8 ignore next -- TUI sessions record cwd on create; process cwd is the fallback when a header omitted it */
|
|
20800
21299
|
const workdir = session.header.cwd ?? cwd;
|
|
20801
21300
|
return agents.create({
|
|
@@ -20810,13 +21309,9 @@ function sessionHost(ctx, core, cwd, btw) {
|
|
|
20810
21309
|
isSeeded: true,
|
|
20811
21310
|
origin: "subagent"
|
|
20812
21311
|
},
|
|
20813
|
-
agentOptions:
|
|
20814
|
-
provider: model.provider,
|
|
20815
|
-
model: model.model,
|
|
20816
|
-
...model.reasoningEffort === void 0 ? {} : { reasoningEffort: model.reasoningEffort }
|
|
20817
|
-
},
|
|
21312
|
+
agentOptions: agentOptionsFor(model),
|
|
20818
21313
|
setup: async (agentCtx, agent) => {
|
|
20819
|
-
await
|
|
21314
|
+
await setup(agentCtx, agent);
|
|
20820
21315
|
restrictBtwAgent(agentCtx, agent, btw);
|
|
20821
21316
|
}
|
|
20822
21317
|
});
|
|
@@ -20828,10 +21323,6 @@ function sessionHost(ctx, core, cwd, btw) {
|
|
|
20828
21323
|
const resident = agents.get(id);
|
|
20829
21324
|
if (resident !== void 0 && (options?.liveOnly !== true || resident.status === "running")) return {
|
|
20830
21325
|
agent: resident,
|
|
20831
|
-
selection: {
|
|
20832
|
-
current: void 0,
|
|
20833
|
-
assembled: void 0
|
|
20834
|
-
},
|
|
20835
21326
|
history: await observeBoundHistory(ctx, id),
|
|
20836
21327
|
dispose: () => Promise.resolve()
|
|
20837
21328
|
};
|