feat(agent-runtime): unify agent bindings and sessions
This commit is contained in:
@@ -6,6 +6,20 @@
|
||||
|
||||
## 配置
|
||||
|
||||
推荐在项目根统一配置:
|
||||
|
||||
```yaml
|
||||
bindings:
|
||||
tester.test:
|
||||
adapter: tester
|
||||
location: local-app
|
||||
profile: test-agent
|
||||
```
|
||||
|
||||
`locations` 和 `profiles` 的定义见共享 `agent-runtime`。tester adapter 只把它 materialize
|
||||
到本轮兼容配置;每轮 terminal 仍然新建并在结束时关闭,不能因为 binding 是 persistent
|
||||
就复用测试 terminal。
|
||||
|
||||
`catalog.yaml` 提供可提交的默认值,`.pouch/tester/local.yaml` 可以覆盖同名字段。
|
||||
机器名、远程环境、项目路径和 Agent 选择优先写在 `local.yaml`,不要把个人机器路径
|
||||
或临时 Agent 选择提交到项目。
|
||||
|
||||
Reference in New Issue
Block a user