@botbotgo/agent-harness 0.0.208 → 0.0.209

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 CHANGED
@@ -44,6 +44,30 @@
44
44
  >
45
45
  </p>
46
46
 
47
+ ## Start In A Few Lines
48
+
49
+ You can start one agent runtime in a few lines of code:
50
+
51
+ ```ts
52
+ import { createAgentHarness, request, stop } from "@botbotgo/agent-harness";
53
+
54
+ const runtime = await createAgentHarness("/absolute/path/to/workspace");
55
+
56
+ try {
57
+ const result = await request(runtime, {
58
+ agentId: "auto",
59
+ input: "Explain what this workspace is for.",
60
+ });
61
+
62
+ console.log(result.output);
63
+ } finally {
64
+ await stop(runtime);
65
+ }
66
+ ```
67
+
68
+ If your team already has a LangChain v1 or DeepAgents workspace, the point is to keep that stack and add approvals,
69
+ recovery, inspection, and operator control around it instead of rewriting into a second framework.
70
+
47
71
  ## Documentation Paths
48
72
 
49
73
  Read the repository in this order:
package/README.zh.md CHANGED
@@ -44,6 +44,30 @@
44
44
  >
45
45
  </p>
46
46
 
47
+ ## 几行代码启动
48
+
49
+ 几行代码就可以把一个 workspace 启动成 agent runtime:
50
+
51
+ ```ts
52
+ import { createAgentHarness, request, stop } from "@botbotgo/agent-harness";
53
+
54
+ const runtime = await createAgentHarness("/absolute/path/to/workspace");
55
+
56
+ try {
57
+ const result = await request(runtime, {
58
+ agentId: "auto",
59
+ input: "Explain what this workspace is for.",
60
+ });
61
+
62
+ console.log(result.output);
63
+ } finally {
64
+ await stop(runtime);
65
+ }
66
+ ```
67
+
68
+ 如果你的团队已经有 LangChain v1 或 DeepAgents 的 workspace,重点不是重写,而是在现有栈外面补上 approvals、
69
+ recovery、inspection 和 operator control。
70
+
47
71
  ## 阅读路径
48
72
 
49
73
  建议按这个顺序理解仓库:
@@ -1 +1 @@
1
- export declare const AGENT_HARNESS_VERSION = "0.0.207";
1
+ export declare const AGENT_HARNESS_VERSION = "0.0.208";
@@ -1 +1 @@
1
- export const AGENT_HARNESS_VERSION = "0.0.207";
1
+ export const AGENT_HARNESS_VERSION = "0.0.208";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botbotgo/agent-harness",
3
- "version": "0.0.208",
3
+ "version": "0.0.209",
4
4
  "description": "Workspace runtime for multi-agent applications",
5
5
  "license": "MIT",
6
6
  "type": "module",