@alwith/module-computer 0.1.6 → 0.1.8
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/dist/artifacts.d.ts +0 -12
- package/dist/artifacts.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -3
package/dist/artifacts.d.ts
CHANGED
|
@@ -13,24 +13,12 @@ declare const _default: {
|
|
|
13
13
|
readonly archive: "cua-driver-rs-0.37.0-linux-x86_64-binary.tar.gz";
|
|
14
14
|
readonly executable: "cua-driver";
|
|
15
15
|
};
|
|
16
|
-
readonly "aarch64-unknown-linux-gnu": {
|
|
17
|
-
readonly url: "https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.37.0/cua-driver-rs-0.37.0-linux-arm64-binary.tar.gz";
|
|
18
|
-
readonly sha256: "879e8040a4ce24caeee34b2e4ac6119be01661082202919db1bcc1ab0b97e4c8";
|
|
19
|
-
readonly archive: "cua-driver-rs-0.37.0-linux-arm64-binary.tar.gz";
|
|
20
|
-
readonly executable: "cua-driver";
|
|
21
|
-
};
|
|
22
16
|
readonly "x86_64-pc-windows-msvc": {
|
|
23
17
|
readonly url: "https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.37.0/cua-driver-rs-0.37.0-windows-x86_64-binary.zip";
|
|
24
18
|
readonly sha256: "40481b55073f1225b0010235b30217bd640ef1f323e982aec0a5f6131d3e4a99";
|
|
25
19
|
readonly archive: "cua-driver-rs-0.37.0-windows-x86_64-binary.zip";
|
|
26
20
|
readonly executable: "cua-driver.exe";
|
|
27
21
|
};
|
|
28
|
-
readonly "aarch64-pc-windows-msvc": {
|
|
29
|
-
readonly url: "https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.37.0/cua-driver-rs-0.37.0-windows-arm64-binary.zip";
|
|
30
|
-
readonly sha256: "0fce682b251775e25fd76bf29ff856f7f5ab5aae5759d6b76a40f8312a194a5a";
|
|
31
|
-
readonly archive: "cua-driver-rs-0.37.0-windows-arm64-binary.zip";
|
|
32
|
-
readonly executable: "cua-driver.exe";
|
|
33
|
-
};
|
|
34
22
|
};
|
|
35
23
|
};
|
|
36
24
|
export default _default;
|
package/dist/artifacts.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var a={version:"0.37.0",artifacts:{"aarch64-apple-darwin":{bundled:"../artifacts/cua-driver-0.37.0-alwith.1-aarch64-apple-darwin.tar.gz",sha256:"d1288acc021d5f830fbeb993c3a32e43123330488bb507f7a280da46b3bb6bce",archive:"cua-driver-0.37.0-alwith.1-aarch64-apple-darwin.tar.gz",executable:"cua-driver"},"x86_64-unknown-linux-gnu":{url:"https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.37.0/cua-driver-rs-0.37.0-linux-x86_64-binary.tar.gz",sha256:"c7ac376b10da7c207e510b2d90b88a9588bec9852a237962c273fe81b9cd5623",archive:"cua-driver-rs-0.37.0-linux-x86_64-binary.tar.gz",executable:"cua-driver"},"
|
|
1
|
+
var a={version:"0.37.0",artifacts:{"aarch64-apple-darwin":{bundled:"../artifacts/cua-driver-0.37.0-alwith.1-aarch64-apple-darwin.tar.gz",sha256:"d1288acc021d5f830fbeb993c3a32e43123330488bb507f7a280da46b3bb6bce",archive:"cua-driver-0.37.0-alwith.1-aarch64-apple-darwin.tar.gz",executable:"cua-driver"},"x86_64-unknown-linux-gnu":{url:"https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.37.0/cua-driver-rs-0.37.0-linux-x86_64-binary.tar.gz",sha256:"c7ac376b10da7c207e510b2d90b88a9588bec9852a237962c273fe81b9cd5623",archive:"cua-driver-rs-0.37.0-linux-x86_64-binary.tar.gz",executable:"cua-driver"},"x86_64-pc-windows-msvc":{url:"https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.37.0/cua-driver-rs-0.37.0-windows-x86_64-binary.zip",sha256:"40481b55073f1225b0010235b30217bd640ef1f323e982aec0a5f6131d3e4a99",archive:"cua-driver-rs-0.37.0-windows-x86_64-binary.zip",executable:"cua-driver.exe"}}};export{a as default};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var t="alwith_computer",o="Computer actions must use the private MCP server named alwith_computer. This exact server name is also used for resource discovery; do not replace underscores or invent a server name. Before the first computer action, read skill://cua-driver/SKILL.md from alwith_computer. Discover its tools, observe the target window, act using the returned window identity and element tokens, then verify the resulting interface. The host handles conversation ownership, queuing and preview. Prefer background operations and respect driver refusals. If the connection fails or is revoked, stop and report the connection error; never substitute cua_repl, shell automation or another computer channel. Ask the user to retry the message after reconnecting in U.";async function s(r){let e=await r();if(!e)return{mcpServers:[],revision:"disabled"};return{mcpServers:[{type:"stdio",name:"alwith_computer",command:e.command,args:[...e.args],env:e.env.map((n)=>({...n}))}],revision:e.generation,appendSystemPrompt:"Computer actions must use the private MCP server named alwith_computer. This exact server name is also used for resource discovery; do not replace underscores or invent a server name. Before the first computer action, read skill://cua-driver/SKILL.md from alwith_computer. Discover its tools, observe the target window, act using the returned window identity and element tokens, then verify the resulting interface. The host handles conversation ownership, queuing and preview. Prefer background operations and respect driver refusals. If the connection fails or is revoked, stop and report the connection error; never substitute cua_repl, shell automation or another computer channel. Ask the user to retry the message after reconnecting in U."}}export{o as COMPUTER_INSTRUCTIONS,t as COMPUTER_SERVER_NAME,s as computerContext};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwith/module-computer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"files": [
|
|
@@ -28,10 +28,14 @@
|
|
|
28
28
|
"build": "bun ../../scripts/build-npm.ts",
|
|
29
29
|
"prepack": "bun run build && bun ../../scripts/verify-module-package.ts computer",
|
|
30
30
|
"test": "bun test src",
|
|
31
|
-
"typecheck": "tsc --noEmit",
|
|
32
31
|
"test:rust": "cargo test --manifest-path ../../Cargo.toml -p alwith-computer-impl --lib"
|
|
33
32
|
},
|
|
34
33
|
"dependencies": {
|
|
35
|
-
"@alwith/native-kit": "0.1.
|
|
34
|
+
"@alwith/native-kit": "0.1.1"
|
|
35
|
+
},
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/ALwith-ai/alwith-modules.git",
|
|
39
|
+
"directory": "packages/computer"
|
|
36
40
|
}
|
|
37
41
|
}
|