feat(wecom): run wecom-cli by the absolute path named in runtime context
The plugin registers wecom-cli's absolute path through registerCliPathContext, with the PATH prefix for the guide scripts that call it by name, and runs its own commands by the same path. The Host-runtime check, the private PATH registration, and the shell-env dependency are removed. The skill guidance, READMEs, tests, and the wecom-skills snapshot follow the runtime-context path.
This commit is contained in:
1 parent
e5ae03cae7
commit
45fc779a11
31 files changed
+176
-134
No files matched your search
@@ -6,5 +6,5 @@
|
||||
en: 41d772192075e133
|
||||
zh: 5ef3da69b4de1d8a
|
||||
/capability-seams-and-core-services:
|
||||
en: cbe99e1985f2deae
|
||||
zh: 6e524e7a644ae2d6
|
||||
en: d00f844a3addc42d
|
||||
zh: d828814662ac65bc
|
||||
@@ -4740,7 +4740,7 @@ export interface Config {
|
||||
|
||||
## `@deepseek-ai/dsh-wecom-cli`
|
||||
|
||||
- `inject`: `skills` · `subprocess` · `shellEnv`
|
||||
- `inject`: `skills` · `subprocess` · `systemPrompt`
|
||||
- `refs`: [`CliAccountConfig`](../packages/connector/cli-account/src/index.ts)
|
||||
- `source`: [`packages/connector/wecom-cli/src/index.ts:31`](../packages/connector/wecom-cli/src/index.ts)
|
||||
|
||||
|
||||
@@ -4742,7 +4742,7 @@ export interface Config {
|
||||
|
||||
## `@deepseek-ai/dsh-wecom-cli`
|
||||
|
||||
- `inject`: `skills` · `subprocess` · `shellEnv`
|
||||
- `inject`: `skills` · `subprocess` · `systemPrompt`
|
||||
- `refs`: [`CliAccountConfig`](../packages/connector/cli-account/src/index.ts)
|
||||
- `source`: [`packages/connector/wecom-cli/src/index.ts:31`](../packages/connector/wecom-cli/src/index.ts)
|
||||
|
||||
|
||||
@@ -533,6 +533,10 @@ flowchart TD
|
||||
pkg_hmr --> pkg_cmdline
|
||||
pkg_cli_account --> pkg_subprocess
|
||||
pkg_cli_account --> pkg_system_prompt
|
||||
pkg_wecom_cli --> pkg_skill
|
||||
pkg_wecom_cli --> pkg_subprocess
|
||||
pkg_wecom_cli --> pkg_system_prompt
|
||||
pkg_wecom_cli --> pkg_typert_protocol
|
||||
pkg_deliverable_file_references --> pkg_system_prompt
|
||||
pkg_experimental_computer_use_cua_driver_mcp --> pkg_computer_use
|
||||
pkg_experimental_forge_github --> pkg_experimental_forge
|
||||
@@ -1685,6 +1689,7 @@ flowchart TD
|
||||
| [`attachment-local`](../packages/attachment/attachment-local) | `attachment` | [`attachment`](../packages/attachment/attachment), [`home-paths`](../packages/util/home-paths) |
|
||||
| [`hmr`](../packages/boot/hmr) | `boot` | [`app-boot`](../packages/boot/app-boot), [`cmdline`](../packages/boot/cmdline) |
|
||||
| [`cli-account`](../packages/connector/cli-account) | `connector` | [`subprocess`](../packages/subprocess/subprocess), [`system-prompt`](../packages/core/system-prompt) |
|
||||
| [`wecom-cli`](../packages/connector/wecom-cli) | `connector` | [`skill`](../packages/skill/skill), [`subprocess`](../packages/subprocess/subprocess), [`system-prompt`](../packages/core/system-prompt), [`typert-protocol`](../packages/typert/protocol) |
|
||||
| [`deliverable-file-references`](../packages/deliverables/deliverable-file-references) | `deliverables` | [`system-prompt`](../packages/core/system-prompt) |
|
||||
| [`experimental-computer-use-cua-driver-mcp`](../packages/experimental/computer-use-cua-driver-mcp) | `experimental` | [`computer-use`](../packages/computer-use/computer-use) |
|
||||
| [`experimental-forge-github`](../packages/experimental/forge-github) | `experimental` | [`experimental-forge`](../packages/experimental/forge), [`subprocess`](../packages/subprocess/subprocess) |
|
||||
|
||||
@@ -535,6 +535,10 @@ flowchart TD
|
||||
pkg_hmr --> pkg_cmdline
|
||||
pkg_cli_account --> pkg_subprocess
|
||||
pkg_cli_account --> pkg_system_prompt
|
||||
pkg_wecom_cli --> pkg_skill
|
||||
pkg_wecom_cli --> pkg_subprocess
|
||||
pkg_wecom_cli --> pkg_system_prompt
|
||||
pkg_wecom_cli --> pkg_typert_protocol
|
||||
pkg_deliverable_file_references --> pkg_system_prompt
|
||||
pkg_experimental_computer_use_cua_driver_mcp --> pkg_computer_use
|
||||
pkg_experimental_forge_github --> pkg_experimental_forge
|
||||
@@ -1687,6 +1691,7 @@ flowchart TD
|
||||
| [`attachment-local`](../packages/attachment/attachment-local) | `attachment` | [`attachment`](../packages/attachment/attachment), [`home-paths`](../packages/util/home-paths) |
|
||||
| [`hmr`](../packages/boot/hmr) | `boot` | [`app-boot`](../packages/boot/app-boot), [`cmdline`](../packages/boot/cmdline) |
|
||||
| [`cli-account`](../packages/connector/cli-account) | `connector` | [`subprocess`](../packages/subprocess/subprocess), [`system-prompt`](../packages/core/system-prompt) |
|
||||
| [`wecom-cli`](../packages/connector/wecom-cli) | `connector` | [`skill`](../packages/skill/skill), [`subprocess`](../packages/subprocess/subprocess), [`system-prompt`](../packages/core/system-prompt), [`typert-protocol`](../packages/typert/protocol) |
|
||||
| [`deliverable-file-references`](../packages/deliverables/deliverable-file-references) | `deliverables` | [`system-prompt`](../packages/core/system-prompt) |
|
||||
| [`experimental-computer-use-cua-driver-mcp`](../packages/experimental/computer-use-cua-driver-mcp) | `experimental` | [`computer-use`](../packages/computer-use/computer-use) |
|
||||
| [`experimental-forge-github`](../packages/experimental/forge-github) | `experimental` | [`experimental-forge`](../packages/experimental/forge), [`subprocess`](../packages/subprocess/subprocess) |
|
||||
|
||||
Reference in new issue
Block a user