refactor: apply repository naming contract
Apply the accepted pre-release package, service, type, directory, and role renames as one repository-wide change.
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write docs/user/develop/practice/index.md
|
||||
index.md: 7ca9f0b1abe472dc90c6d4e56543e43b6d2ec727
|
||||
index.zh.md: 6d340e0cecfcc31517464323e5d536fc62edc132
|
||||
index.md: 3619a39f4a39b42cf4269d3778f233ecc1731933
|
||||
index.zh.md: 8bd378af5eaf2741c34d76a152fa8a62a947bf41
|
||||
@@ -12,13 +12,13 @@ When a capability is general enough to need replaceable providers, such as Bash
|
||||
|
||||
The Bash execution capability consists of:
|
||||
|
||||
- **Service Definition** (`dsh-bash`) — defines the Cordis service and Bash request and result types
|
||||
- **Service Definition** (`dsh-shell`) — defines the Cordis service and Bash request and result types
|
||||
- **Service provider** (`dsh-bash-local`) — executes commands on the local machine
|
||||
- **Consumer** (`dsh-tool-bash`) — exposes the capability as a model-callable tool
|
||||
|
||||
```
|
||||
┌─────────────┐ ┌──────────────────┐ ┌──────────────┐
|
||||
│ dsh-bash │────▶│ dsh-bash-local │ │ dsh-tool-bash│
|
||||
│ dsh-shell │────▶│ dsh-bash-local │ │ dsh-tool-bash│
|
||||
│(definition) │ │ (provider) │ │(consumer/tool)│
|
||||
└─────────────┘ └──────────────────┘ └──────────────┘
|
||||
▲ │
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
以 Bash 执行能力为例:
|
||||
|
||||
- **Service Definition** (`dsh-bash`):定义 Cordis 服务以及 Bash 请求和结果类型
|
||||
- **Service Definition** (`dsh-shell`):定义 Cordis 服务以及 Bash 请求和结果类型
|
||||
- **Service provider** (`dsh-bash-local`):在本地计算机上执行命令
|
||||
- **Consumer** (`dsh-tool-bash`):将该能力公开为模型可调用的工具
|
||||
|
||||
```
|
||||
┌─────────────┐ ┌──────────────────┐ ┌──────────────┐
|
||||
│ dsh-bash │────▶│ dsh-bash-local │ │ dsh-tool-bash│
|
||||
│ dsh-shell │────▶│ dsh-bash-local │ │ dsh-tool-bash│
|
||||
│(definition) │ │ (provider) │ │(consumer/tool)│
|
||||
└─────────────┘ └──────────────────┘ └──────────────┘
|
||||
▲ │
|
||||
|
||||
Reference in New Issue
Block a user