@botbotgo/agent-harness 0.0.195 → 0.0.197
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 +6 -21
- package/README.zh.md +7 -19
- package/dist/package-version.d.ts +1 -1
- package/dist/package-version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -184,35 +184,19 @@ The default rule is:
|
|
|
184
184
|
- if LangChain v1 or DeepAgents already has the feature, map it in YAML and adapt it internally
|
|
185
185
|
- do not add a new public runtime API unless the problem is truly runtime-owned
|
|
186
186
|
|
|
187
|
-
|
|
187
|
+
Start with these user-facing docs:
|
|
188
188
|
|
|
189
189
|
- `docs/development/index.html`
|
|
190
190
|
- `docs/development/getting-started.html`
|
|
191
|
-
- `docs/development/application-model.html`
|
|
192
|
-
- `docs/development/workspace-and-yaml.html`
|
|
193
|
-
- `docs/development/extensions.html`
|
|
194
|
-
- `docs/development/runtime-operations.html`
|
|
195
|
-
- `docs/development/testing-and-release.html`
|
|
196
191
|
- `docs/development/api-reference.html`
|
|
192
|
+
- `docs/development/protocol-surfaces.html`
|
|
197
193
|
- `docs/development/cookbook.html`
|
|
198
|
-
- `docs/upstream-feature-matrix.md`
|
|
199
|
-
- `docs/product-boundary.md`
|
|
200
|
-
- `docs/runtime-blueprint-assessment.md`
|
|
201
|
-
- `docs/policy-engine-scope.md`
|
|
202
|
-
- `docs/acp-support-plan.md`
|
|
203
|
-
- `docs/recovery-policy-matrix.md`
|
|
204
|
-
- `docs/operator-timeline.md`
|
|
205
194
|
- `docs/runtime-inspection-contract.md`
|
|
206
|
-
- `docs/queue-concurrency-inspection.md`
|
|
207
195
|
- `docs/tool-execution-policy.md`
|
|
208
|
-
- `docs/feature-checklist.md`
|
|
209
196
|
- `docs/long-term-memory.md`
|
|
210
|
-
- `docs/memory-runtime-design.md`
|
|
211
|
-
- `docs/memory-runtime-usage.md`
|
|
212
197
|
- `docs/memory-policy-reference.md`
|
|
213
|
-
|
|
214
|
-
-
|
|
215
|
-
- `docs/coding-agent-guide.md`
|
|
198
|
+
|
|
199
|
+
Maintainer notes and internal product-boundary discussions remain in the repository, but they are intentionally not part of the primary public reading path.
|
|
216
200
|
|
|
217
201
|
`deepagents-acp` is the required external protocol direction when external tools need a standard runtime boundary. The harness should conform to `deepagents-acp` semantics at that boundary while keeping runtime lifecycle, persistence, recovery, and governance harness-owned.
|
|
218
202
|
|
|
@@ -660,6 +644,7 @@ Example workspaces:
|
|
|
660
644
|
|
|
661
645
|
- `examples/hello-skill-app/` keeps the smallest local tool + skill workspace
|
|
662
646
|
- `examples/runtime-flow-demo/` runs one real hosted-model request and exports a Mermaid flowchart from runtime plus upstream events
|
|
647
|
+
- `examples/protocol-hello-world/` shows the same minimal direct agent wired to ACP, A2A, and AG-UI hello-world transport samples
|
|
663
648
|
|
|
664
649
|
Workspace-local tool modules in `resources/tools/` should be exported with `tool({...})`.
|
|
665
650
|
Any other local module shape is not supported, and unsupported shapes are rejected at load time.
|
|
@@ -933,7 +918,7 @@ spec:
|
|
|
933
918
|
middleware: []
|
|
934
919
|
```
|
|
935
920
|
|
|
936
|
-
For backend-specific options, prefer the upstream concept directly inside `spec.config`.
|
|
921
|
+
For backend-specific options, prefer the upstream concept directly inside `spec.config`. Keep the public runtime contract in the main developer docs and API reference rather than relying on maintainer-only comparison notes.
|
|
937
922
|
|
|
938
923
|
## Design Notes
|
|
939
924
|
|
package/README.zh.md
CHANGED
|
@@ -182,32 +182,19 @@ AI 让 agent 逻辑、工具调用和工作流代码更容易生成,真正更
|
|
|
182
182
|
- 若 LangChain v1 或 DeepAgents 已有能力,则在 YAML 中映射并在内部适配
|
|
183
183
|
- 除非问题确实属于运行时职责,否则不增加新的公共运行时 API
|
|
184
184
|
|
|
185
|
-
|
|
185
|
+
建议从这些面向用户的文档开始:
|
|
186
186
|
|
|
187
187
|
- `docs/development/index.html`
|
|
188
188
|
- `docs/development/getting-started.html`
|
|
189
|
-
- `docs/development/application-model.html`
|
|
190
|
-
- `docs/development/workspace-and-yaml.html`
|
|
191
|
-
- `docs/development/extensions.html`
|
|
192
|
-
- `docs/development/runtime-operations.html`
|
|
193
|
-
- `docs/development/testing-and-release.html`
|
|
194
189
|
- `docs/development/api-reference.html`
|
|
190
|
+
- `docs/development/protocol-surfaces.html`
|
|
195
191
|
- `docs/development/cookbook.html`
|
|
196
|
-
- `docs/upstream-feature-matrix.md`
|
|
197
|
-
- `docs/product-boundary.md`
|
|
198
|
-
- `docs/runtime-blueprint-assessment.md`
|
|
199
|
-
- `docs/policy-engine-scope.md`
|
|
200
|
-
- `docs/acp-support-plan.md`
|
|
201
|
-
- `docs/recovery-policy-matrix.md`
|
|
202
|
-
- `docs/operator-timeline.md`
|
|
203
192
|
- `docs/runtime-inspection-contract.md`
|
|
204
|
-
- `docs/queue-concurrency-inspection.md`
|
|
205
193
|
- `docs/tool-execution-policy.md`
|
|
206
|
-
- `docs/feature-checklist.md`
|
|
207
194
|
- `docs/long-term-memory.md`
|
|
208
|
-
- `docs/
|
|
209
|
-
|
|
210
|
-
|
|
195
|
+
- `docs/memory-policy-reference.md`
|
|
196
|
+
|
|
197
|
+
维护者笔记和产品边界讨论仍然保留在仓库里,但不会再作为公开阅读路径的一部分放在主要入口里。
|
|
211
198
|
|
|
212
199
|
当外部工具需要标准运行时边界时,`deepagents-acp` 是必须遵循的外部协议方向。`agent-harness` 应在该边界上严格契合 `deepagents-acp` 语义,同时继续把运行时生命周期、持久化、恢复与治理保留在 harness 内部。
|
|
213
200
|
|
|
@@ -622,6 +609,7 @@ await stop(runtime);
|
|
|
622
609
|
|
|
623
610
|
- `examples/hello-skill-app/` 保留最小的本地 tool + skill 工作区
|
|
624
611
|
- `examples/runtime-flow-demo/` 会跑一次真实 hosted model 请求,并把 runtime 与 upstream events 导出为 Mermaid flowchart
|
|
612
|
+
- `examples/protocol-hello-world/` 展示同一个最小 direct agent 的 ACP、A2A 与 AG-UI 三种 hello-world 传输示例
|
|
625
613
|
|
|
626
614
|
`resources/tools/` 下的工作区本地工具模块应统一用 `tool({...})` 导出。
|
|
627
615
|
不支持历史/兼容写法,任何不带该导出形式的工具模块都会在工作区加载时被拒绝。
|
|
@@ -890,7 +878,7 @@ spec:
|
|
|
890
878
|
middleware: []
|
|
891
879
|
```
|
|
892
880
|
|
|
893
|
-
后端相关选项优先直接写在 `spec.config`
|
|
881
|
+
后端相关选项优先直接写在 `spec.config` 中沿用上游概念。公开能力边界以开发者文档与 API 参考为准,不依赖维护者内部对比笔记。
|
|
894
882
|
|
|
895
883
|
## 设计说明
|
|
896
884
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AGENT_HARNESS_VERSION = "0.0.
|
|
1
|
+
export declare const AGENT_HARNESS_VERSION = "0.0.196";
|
package/dist/package-version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const AGENT_HARNESS_VERSION = "0.0.
|
|
1
|
+
export const AGENT_HARNESS_VERSION = "0.0.196";
|