@namzu/computer-use 2.0.0 → 2.0.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 567ada8: Updated package examples and evaluation fixtures for the SDK's `ToolRegistry`
8
+ removal. Browser, computer-use and LSP documentation now show toolsets; the
9
+ evals use `toolsets` when they call the kernel. Provider changes are test
10
+ fixture migrations only, with no provider runtime API change. Consumers that
11
+ pass tools to the SDK should use `toolsets: readonly Toolset[]` and wrap their
12
+ definitions with `toolset(source, definitions)`.
13
+
14
+ ## 2.0.1
15
+
16
+ ### Patch Changes
17
+
18
+ - 2d4ff9a: Earlier entries in this package's CHANGELOG no longer name one particular application built on namzu, or quote a path from outside this repository. This changes only the CHANGELOG.md that ships in the tarball; no code or types change, and there is nothing to do to upgrade.
19
+
3
20
  ## 2.0.0
4
21
 
5
22
  ### Major Changes
@@ -199,7 +216,7 @@
199
216
  What a consumer sees change:
200
217
 
201
218
  - `@namzu/sandbox` raised `Sandbox backend 'x' is not implemented yet. Track
202
- progress in vendor/namzu/docs.local/sessions/ses_004-...` — a runtime error
219
+ progress in <a local notes directory>/...` — a runtime error
203
220
  instructing the reader to open a path that is not in the package, not in the
204
221
  repository, and not on the internet. It now names what does ship instead.
205
222
  - `@namzu/computer-use`'s README linked to an adapter-pattern document under a
package/README.md CHANGED
@@ -52,7 +52,7 @@ import {
52
52
  SubprocessComputerUseHost,
53
53
  type SubprocessComputerUseHostOptions,
54
54
  } from '@namzu/computer-use'
55
- import { createComputerUseTool, ToolRegistry } from '@namzu/sdk'
55
+ import { createComputerUseTool, toolset } from '@namzu/sdk'
56
56
 
57
57
  const options: SubprocessComputerUseHostOptions = {
58
58
  env: process.env,
@@ -71,8 +71,7 @@ console.log(host.capabilities)
71
71
  // clipboard: true,
72
72
  // }
73
73
 
74
- const registry = new ToolRegistry()
75
- registry.register(createComputerUseTool(host))
74
+ const tools = toolset('computer-use', [createComputerUseTool(host)])
76
75
  ```
77
76
 
78
77
  If a click, drag, scroll, text entry or key subprocess starts but does not
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@namzu/computer-use",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Subprocess-based computer-use host for @namzu/sdk. Screenshot, mouse, and keyboard control via platform-native CLIs (screencapture/osascript on darwin, xdotool/maim on Linux X11, grim/wtype/ydotool on Wayland, PowerShell on Windows).",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "engines": {
@@ -53,7 +53,7 @@
53
53
  "@types/node": "^22.19.17",
54
54
  "typescript": "^5.5.0",
55
55
  "vitest": "^4.1.11",
56
- "@namzu/sdk": "^46.0.0"
56
+ "@namzu/sdk": "^48.0.0"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "tsc --build",