@alwith/module-computer 0.1.8 → 0.5.1
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 +8 -1
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/artifacts/{cua-driver-0.37.0-alwith.1-aarch64-apple-darwin.tar.gz → cua-driver-0.38.0-alwith.1-aarch64-apple-darwin.tar.gz} +0 -0
- package/dist/artifacts.d.ts +10 -10
- package/dist/artifacts.js +1 -1
- package/package.json +2 -2
- package/rust/Cargo.toml +1 -1
- package/rust/src/lib.rs +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Computer module
|
|
2
2
|
|
|
3
|
-
Computer access using Cua Driver 0.
|
|
3
|
+
Computer access using Cua Driver 0.38.0 (contract 0.8.0). The TypeScript entry
|
|
4
4
|
composes MCP descriptors from native authority without storing conversations.
|
|
5
5
|
It returns a generation revision so clients can refresh existing threads when
|
|
6
6
|
the host's grant changes. New, resumed and forked threads receive the same tools
|
|
@@ -50,3 +50,10 @@ Driver before resetting the gateway, reconnect, and observe rather than replayin
|
|
|
50
50
|
Driver stderr and content-free tool timing records are kept in bounded in-memory
|
|
51
51
|
buffers for the current application session only. Raw stderr may contain driver
|
|
52
52
|
error details; it is never automatically persisted or uploaded.
|
|
53
|
+
|
|
54
|
+
The gateway declares its host-owned Driver session before each session-bound tool
|
|
55
|
+
call. Driver `start_session` is idempotent while active and explicitly revives an
|
|
56
|
+
ended session, so a long-lived MCP connection cannot remain stuck on a tombstone.
|
|
57
|
+
A failed declaration prevents the requested tool from being dispatched. User tool
|
|
58
|
+
failures are returned unchanged and are never replayed. Application reconnection
|
|
59
|
+
still replaces the driver generation and invalidates all old proxy connections.
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Third-party notices
|
|
2
2
|
|
|
3
|
-
This integration pins the separately distributed MIT-licensed Cua Driver 0.
|
|
4
|
-
Upstream: https://github.com/trycua/cua/tree/cua-driver-rs-v0.
|
|
3
|
+
This integration pins the separately distributed MIT-licensed Cua Driver 0.38.0.
|
|
4
|
+
Upstream: https://github.com/trycua/cua/tree/cua-driver-rs-v0.38.0/libs/cua-driver
|
|
5
5
|
|
|
6
6
|
Applications staging the executable must distribute the included upstream
|
|
7
7
|
`licenses/cua-driver-LICENSE.md` and `licenses/cua-driver-THIRD_PARTY_NOTICES.md`.
|
|
Binary file
|
package/dist/artifacts.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
readonly version: "0.
|
|
2
|
+
readonly version: "0.38.0";
|
|
3
3
|
readonly artifacts: {
|
|
4
4
|
readonly "aarch64-apple-darwin": {
|
|
5
|
-
readonly bundled: "../artifacts/cua-driver-0.
|
|
6
|
-
readonly sha256: "
|
|
7
|
-
readonly archive: "cua-driver-0.
|
|
5
|
+
readonly bundled: "../artifacts/cua-driver-0.38.0-alwith.1-aarch64-apple-darwin.tar.gz";
|
|
6
|
+
readonly sha256: "29126f5b60d92bd94a78091a70cd9e234b0cba7c97f0070c1a80dac6f448d1e3";
|
|
7
|
+
readonly archive: "cua-driver-0.38.0-alwith.1-aarch64-apple-darwin.tar.gz";
|
|
8
8
|
readonly executable: "cua-driver";
|
|
9
9
|
};
|
|
10
10
|
readonly "x86_64-unknown-linux-gnu": {
|
|
11
|
-
readonly url: "https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.
|
|
12
|
-
readonly sha256: "
|
|
13
|
-
readonly archive: "cua-driver-rs-0.
|
|
11
|
+
readonly url: "https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.38.0/cua-driver-rs-0.38.0-linux-x86_64-binary.tar.gz";
|
|
12
|
+
readonly sha256: "31ab9709dd91ce73677e49b9f3e75c6f0d3e4d9625c286c9e58262bfbea698dd";
|
|
13
|
+
readonly archive: "cua-driver-rs-0.38.0-linux-x86_64-binary.tar.gz";
|
|
14
14
|
readonly executable: "cua-driver";
|
|
15
15
|
};
|
|
16
16
|
readonly "x86_64-pc-windows-msvc": {
|
|
17
|
-
readonly url: "https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.
|
|
18
|
-
readonly sha256: "
|
|
19
|
-
readonly archive: "cua-driver-rs-0.
|
|
17
|
+
readonly url: "https://github.com/trycua/cua/releases/download/cua-driver-rs-v0.38.0/cua-driver-rs-0.38.0-windows-x86_64-binary.zip";
|
|
18
|
+
readonly sha256: "5edaa74d0afa1b55a9668dbc4f32736507bd2bd4d75b18ca1dc8881bb12402b5";
|
|
19
|
+
readonly archive: "cua-driver-rs-0.38.0-windows-x86_64-binary.zip";
|
|
20
20
|
readonly executable: "cua-driver.exe";
|
|
21
21
|
};
|
|
22
22
|
};
|
package/dist/artifacts.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var a={version:"0.
|
|
1
|
+
var a={version:"0.38.0",artifacts:{"aarch64-apple-darwin":{bundled:"../artifacts/cua-driver-0.38.0-alwith.1-aarch64-apple-darwin.tar.gz",sha256:"29126f5b60d92bd94a78091a70cd9e234b0cba7c97f0070c1a80dac6f448d1e3",archive:"cua-driver-0.38.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.38.0/cua-driver-rs-0.38.0-linux-x86_64-binary.tar.gz",sha256:"31ab9709dd91ce73677e49b9f3e75c6f0d3e4d9625c286c9e58262bfbea698dd",archive:"cua-driver-rs-0.38.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.38.0/cua-driver-rs-0.38.0-windows-x86_64-binary.zip",sha256:"5edaa74d0afa1b55a9668dbc4f32736507bd2bd4d75b18ca1dc8881bb12402b5",archive:"cua-driver-rs-0.38.0-windows-x86_64-binary.zip",executable:"cua-driver.exe"}}};export{a as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwith/module-computer",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"files": [
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"test:rust": "cargo test --manifest-path ../../Cargo.toml -p alwith-computer-impl --lib"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@alwith/native-kit": "0.
|
|
34
|
+
"@alwith/native-kit": "0.5.0"
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
37
37
|
"type": "git",
|
package/rust/Cargo.toml
CHANGED
package/rust/src/lib.rs
CHANGED
|
@@ -6,7 +6,7 @@ use alwith_native_client::Handle;
|
|
|
6
6
|
use serde::Serialize;
|
|
7
7
|
use serde_json::{Value, json};
|
|
8
8
|
use std::path::PathBuf;
|
|
9
|
-
pub const DRIVER_VERSION: &str = "0.
|
|
9
|
+
pub const DRIVER_VERSION: &str = "0.38.0";
|
|
10
10
|
#[derive(Debug, Clone, Serialize, specta::Type, serde::Deserialize)]
|
|
11
11
|
#[serde(rename_all = "camelCase")]
|
|
12
12
|
pub struct Status {
|