@botbotgo/agent-harness 0.0.91 → 0.0.92
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 +15 -0
- package/README.zh.md +15 -0
- package/dist/package-version.d.ts +1 -1
- package/dist/package-version.js +1 -1
- package/dist/workspace/object-loader.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -532,6 +532,21 @@ Built-in tool families include function tools, backend tools, MCP tools, bundles
|
|
|
532
532
|
|
|
533
533
|
Use this file for named MCP server presets.
|
|
534
534
|
|
|
535
|
+
Example:
|
|
536
|
+
|
|
537
|
+
```yaml
|
|
538
|
+
apiVersion: agent-harness/v1alpha1
|
|
539
|
+
kind: McpServers
|
|
540
|
+
spec:
|
|
541
|
+
- name: browser
|
|
542
|
+
transport: stdio
|
|
543
|
+
command: node
|
|
544
|
+
args:
|
|
545
|
+
- ./mcp-browser-server.mjs
|
|
546
|
+
```
|
|
547
|
+
|
|
548
|
+
`spec[].kind` can be omitted here; catalog entries default to `McpServer`.
|
|
549
|
+
|
|
535
550
|
### `config/agents/*.yaml`
|
|
536
551
|
|
|
537
552
|
Agents always use `kind: Agent` plus `spec.execution.backend`.
|
package/README.zh.md
CHANGED
|
@@ -524,6 +524,21 @@ spec:
|
|
|
524
524
|
|
|
525
525
|
命名 MCP 服务预设。
|
|
526
526
|
|
|
527
|
+
示例:
|
|
528
|
+
|
|
529
|
+
```yaml
|
|
530
|
+
apiVersion: agent-harness/v1alpha1
|
|
531
|
+
kind: McpServers
|
|
532
|
+
spec:
|
|
533
|
+
- name: browser
|
|
534
|
+
transport: stdio
|
|
535
|
+
command: node
|
|
536
|
+
args:
|
|
537
|
+
- ./mcp-browser-server.mjs
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
这里可以省略 `spec[].kind`;catalog 项会默认按 `McpServer` 处理。
|
|
541
|
+
|
|
527
542
|
### `config/agents/*.yaml`
|
|
528
543
|
|
|
529
544
|
Agent 始终使用 `kind: Agent` 以及 `spec.execution.backend`。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AGENT_HARNESS_VERSION = "0.0.
|
|
1
|
+
export declare const AGENT_HARNESS_VERSION = "0.0.91";
|
package/dist/package-version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const AGENT_HARNESS_VERSION = "0.0.
|
|
1
|
+
export const AGENT_HARNESS_VERSION = "0.0.91";
|
|
@@ -441,7 +441,7 @@ async function objectItemsFromDocument(document, sourcePath) {
|
|
|
441
441
|
: catalogKind === "Tools"
|
|
442
442
|
? normalizeCatalogSpec(document, { defaultKind: "Tool" })
|
|
443
443
|
: catalogKind === "McpServers"
|
|
444
|
-
? normalizeCatalogSpec(document)
|
|
444
|
+
? normalizeCatalogSpec(document, { defaultKind: "McpServer" })
|
|
445
445
|
: [];
|
|
446
446
|
if (catalogItems.length > 0) {
|
|
447
447
|
return catalogItems;
|