@assemblyline-agents/computer-use 5.0.9 → 6.0.0
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 +16 -24
- package/ai.assemblyline/connections/computer-use.json +80 -0
- package/ai.assemblyline/index.cjs +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/plugin.json +11 -0
package/README.md
CHANGED
|
@@ -22,32 +22,24 @@ relay routes opaque envelopes and cannot read tool arguments or results.
|
|
|
22
22
|
assembly-line add computer-use agent
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
The
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
```ts
|
|
40
|
-
export default defineComputerUseConnection({ access: "approval-required" });
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
Use a read-only policy to hide mutations:
|
|
44
|
-
|
|
45
|
-
```ts
|
|
46
|
-
export default defineComputerUseConnection({ access: "read-only" });
|
|
25
|
+
The selected plugin enables its reviewed read and write tools without an
|
|
26
|
+
Assembly Line approval. Local Computer Host policy may still prompt or deny
|
|
27
|
+
them. Gate individual actions in `agent.md`:
|
|
28
|
+
|
|
29
|
+
```yaml
|
|
30
|
+
capabilities:
|
|
31
|
+
computer-use:
|
|
32
|
+
connections:
|
|
33
|
+
computer-use:
|
|
34
|
+
approval:
|
|
35
|
+
click: always
|
|
36
|
+
type: always
|
|
37
|
+
hotkey: always
|
|
47
38
|
```
|
|
48
39
|
|
|
49
|
-
|
|
50
|
-
|
|
40
|
+
Use `disable` under the same connection to remove actions entirely. Actions
|
|
41
|
+
not listed retain the reviewed plugin default. There is no generic connection
|
|
42
|
+
`access` field in `agent.md`.
|
|
51
43
|
|
|
52
44
|
The binding carries a raw P-256 agent private scalar and the Mac's uncompressed
|
|
53
45
|
X9.63 P-256 public key, encoded inside an opaque base64url JSON value. It must
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"kind": "computer-use",
|
|
3
|
+
"role": "connection",
|
|
4
|
+
"packageName": "@assemblyline-agents/computer-use",
|
|
5
|
+
"helper": "defineComputerUseConnection",
|
|
6
|
+
"protocol": "mcp",
|
|
7
|
+
"transport": "relay",
|
|
8
|
+
"provider": "computer-use",
|
|
9
|
+
"description": "End-to-end encrypted accessibility and input automation on a paired Mac through the Assembly Line device relay.",
|
|
10
|
+
"defaultUrl": "https://computer-use.artificialillumination.co/v1",
|
|
11
|
+
"urlEnv": "ASSEMBLY_LINE_COMPUTER_USE_RELAY_URL",
|
|
12
|
+
"capabilities": [
|
|
13
|
+
"mcp",
|
|
14
|
+
"live-tools",
|
|
15
|
+
"e2ee-device-relay"
|
|
16
|
+
],
|
|
17
|
+
"scopes": [],
|
|
18
|
+
"subject": "environment",
|
|
19
|
+
"tools": {
|
|
20
|
+
"allow": [
|
|
21
|
+
"inspect_ui",
|
|
22
|
+
"list",
|
|
23
|
+
"permissions",
|
|
24
|
+
"click",
|
|
25
|
+
"type",
|
|
26
|
+
"hotkey",
|
|
27
|
+
"scroll",
|
|
28
|
+
"drag",
|
|
29
|
+
"swipe",
|
|
30
|
+
"move",
|
|
31
|
+
"set_value",
|
|
32
|
+
"perform_action",
|
|
33
|
+
"app",
|
|
34
|
+
"window",
|
|
35
|
+
"menu",
|
|
36
|
+
"dock",
|
|
37
|
+
"dialog",
|
|
38
|
+
"space"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"readToolPatterns": [
|
|
42
|
+
"inspect_ui",
|
|
43
|
+
"list",
|
|
44
|
+
"permissions"
|
|
45
|
+
],
|
|
46
|
+
"writeToolPatterns": [
|
|
47
|
+
"click",
|
|
48
|
+
"type",
|
|
49
|
+
"hotkey",
|
|
50
|
+
"scroll",
|
|
51
|
+
"drag",
|
|
52
|
+
"swipe",
|
|
53
|
+
"move",
|
|
54
|
+
"set_value",
|
|
55
|
+
"perform_action",
|
|
56
|
+
"app",
|
|
57
|
+
"window",
|
|
58
|
+
"menu",
|
|
59
|
+
"dock",
|
|
60
|
+
"dialog",
|
|
61
|
+
"space"
|
|
62
|
+
],
|
|
63
|
+
"setup": [
|
|
64
|
+
{
|
|
65
|
+
"kind": "connection",
|
|
66
|
+
"name": "computer-use-developer-configuration",
|
|
67
|
+
"required": true,
|
|
68
|
+
"message": "Install Assembly Line Agent Builder on the Mac, enable Computer Host, pair this deployment, and set the generated ASSEMBLY_LINE_COMPUTER_USE_BINDING secret on the remote runtime. The binding is device-scoped and must not be placed in prompts or source control."
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"requiredConfig": [],
|
|
72
|
+
"optionalConfig": [
|
|
73
|
+
"ASSEMBLY_LINE_COMPUTER_USE_RELAY_URL"
|
|
74
|
+
],
|
|
75
|
+
"requiredCredentials": [
|
|
76
|
+
"ASSEMBLY_LINE_COMPUTER_USE_BINDING"
|
|
77
|
+
],
|
|
78
|
+
"optionalCredentials": [],
|
|
79
|
+
"relayCredential": "ASSEMBLY_LINE_COMPUTER_USE_BINDING"
|
|
80
|
+
}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,+BAA+B,EACrC,MAAM,2BAA2B,CAAC;AAInC,MAAM,MAAM,4BAA4B,GAAG,+BAA+B,CAAC;AAE3E,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,4BAA4B,2IAEhF;AAED,eAAO,MAAM,kBAAkB,kDAA0C,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import connectionContract_computer_use from "../ai.assemblyline/connections/computer-use.json" with { type: "json" };
|
|
2
|
+
import { definePlugin, defineRelayMcpPluginConnection } from "@assemblyline-agents/core";
|
|
3
|
+
const PLUGIN = connectionContract_computer_use;
|
|
3
4
|
export function defineComputerUseConnection(options) {
|
|
4
5
|
return defineRelayMcpPluginConnection(PLUGIN, options);
|
|
5
6
|
}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,+BAA+B,MAAM,kDAAkD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACrH,OAAO,EACL,YAAY,EACZ,8BAA8B,EAE/B,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,GAAG,+BAAsE,CAAC;AAItF,MAAM,UAAU,2BAA2B,CAAC,OAAqC;IAC/E,OAAO,8BAA8B,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assemblyline-agents/computer-use",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@assemblyline-agents/core": "
|
|
12
|
+
"@assemblyline-agents/core": "6.0.0"
|
|
13
13
|
},
|
|
14
14
|
"description": "Official Assembly Line remote macOS computer-use connection plugin.",
|
|
15
15
|
"files": [
|
|
16
|
-
"dist"
|
|
16
|
+
"dist",
|
|
17
|
+
"plugin.json",
|
|
18
|
+
"ai.assemblyline"
|
|
17
19
|
],
|
|
18
20
|
"engines": {
|
|
19
21
|
"node": ">=22.19.0"
|
package/plugin.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
|
+
"name": "computer-use",
|
|
4
|
+
"version": "6.0.0",
|
|
5
|
+
"description": "Official Assembly Line remote macOS computer-use connection plugin.",
|
|
6
|
+
"extensions": {
|
|
7
|
+
"ai.assemblyline": {
|
|
8
|
+
"entry": "./ai.assemblyline/index.cjs"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|