opensteer 0.4.11 → 0.4.12

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
@@ -45,6 +45,33 @@ try {
45
45
  }
46
46
  ```
47
47
 
48
+ ## CUA Agent
49
+
50
+ ```ts
51
+ import { Opensteer } from "opensteer";
52
+
53
+ const opensteer = new Opensteer({
54
+ model: "openai/computer-use-preview",
55
+ });
56
+
57
+ await opensteer.launch();
58
+
59
+ const agent = opensteer.agent({
60
+ mode: "cua",
61
+ });
62
+
63
+ const result = await agent.execute({
64
+ instruction: "Go to Hacker News and open the top story.",
65
+ maxSteps: 20,
66
+ highlightCursor: true,
67
+ });
68
+
69
+ console.log(result.message);
70
+ await opensteer.close();
71
+ ```
72
+
73
+ Supported CUA providers in V1: `openai`, `anthropic`, `google`.
74
+
48
75
  ## Quickstart (CLI)
49
76
 
50
77
  Opensteer CLI separates runtime routing from selector namespace routing.