Skip to content

Commit ce70d89

Browse files
k4cper-gclaude
andcommitted
Rename package from computer-use-protocol to computeruseprotocol
Updated npm package name, import paths, and install commands across package.json, README, API docs, and source code. GitHub repo URLs left unchanged as they reference the actual repository name. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ffe6368 commit ce70d89

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<br>
1212

1313
<p align="center">
14-
<a href="https://www.npmjs.com/package/computer-use-protocol"><img src="https://img.shields.io/npm/v/computer-use-protocol?style=for-the-badge&color=FF6F61&labelColor=000000" alt="npm"></a>
14+
<a href="https://www.npmjs.com/package/computeruseprotocol"><img src="https://img.shields.io/npm/v/computeruseprotocol?style=for-the-badge&color=FF6F61&labelColor=000000" alt="npm"></a>
1515
<a href="https://github.com/computeruseprotocol/typescript-sdk/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-0cc0df?style=for-the-badge&labelColor=000000" alt="MIT License"></a>
1616
<a href="https://github.com/computeruseprotocol/computeruseprotocol"><img src="https://img.shields.io/badge/Spec-computer--use--protocol-7ed957?style=for-the-badge&labelColor=000000" alt="Spec"></a>
1717
</p>
@@ -22,16 +22,16 @@ The official TypeScript SDK for the [Computer Use Protocol (CUP)](https://github
2222

2323
```bash
2424
# npm
25-
npm install computer-use-protocol
25+
npm install computeruseprotocol
2626

2727
# bun
28-
bun add computer-use-protocol
28+
bun add computeruseprotocol
2929
```
3030

3131
## Quick start
3232

3333
```typescript
34-
import { snapshot, snapshotRaw, overview } from "computer-use-protocol";
34+
import { snapshot, snapshotRaw, overview } from "computeruseprotocol";
3535

3636
// Capture the foreground window's accessibility tree
3737
const text = await snapshot();
@@ -63,7 +63,7 @@ Output:
6363
### Session API
6464

6565
```typescript
66-
import { Session } from "computer-use-protocol";
66+
import { Session } from "computeruseprotocol";
6767

6868
const session = await Session.create();
6969

docs/api-reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The primary interface for CUP. Captures accessibility trees and executes actions.
66

77
```typescript
8-
import { Session } from "computer-use-protocol";
8+
import { Session } from "computeruseprotocol";
99

1010
const session = await Session.create(platform?);
1111
```
@@ -199,7 +199,7 @@ const png = await session.screenshot({ x: 100, y: 200, w: 800, h: 600 });
199199
Thin wrappers around a default `Session` instance. Useful for quick scripting.
200200
201201
```typescript
202-
import { snapshot, snapshotRaw, overview } from "computer-use-protocol";
202+
import { snapshot, snapshotRaw, overview } from "computeruseprotocol";
203203

204204
// Foreground window as compact text
205205
const text = await snapshot();
@@ -326,7 +326,7 @@ Add to your MCP client config (e.g., `.mcp.json` for Claude Code):
326326
Interface for adding new platform support.
327327
328328
```typescript
329-
import type { PlatformAdapter } from "computer-use-protocol";
329+
import type { PlatformAdapter } from "computeruseprotocol";
330330

331331
class AndroidAdapter implements PlatformAdapter {
332332
platformName = "android";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "computer-use-protocol",
2+
"name": "computeruseprotocol",
33
"version": "0.1.0",
44
"description": "TypeScript SDK for the Computer Use Protocol — universal cross-platform UI accessibility",
55
"type": "module",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Quick start:
77
*
8-
* import { Session, snapshot, overview } from "computer-use-protocol";
8+
* import { Session, snapshot, overview } from "computeruseprotocol";
99
*
1010
* // Session is the primary API — capture + actions
1111
* const session = await Session.create();

0 commit comments

Comments
 (0)