tla-checker 0.4.1 → 0.4.3
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 +21 -3
- package/package.json +1 -1
- package/tla_checker.js +3 -4
- package/tla_checker_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -259,15 +259,33 @@ if (result.dot) {
|
|
|
259
259
|
|
|
260
260
|
### Install
|
|
261
261
|
|
|
262
|
-
|
|
262
|
+
Several paths are supported — pick whichever fits your toolchain.
|
|
263
|
+
|
|
264
|
+
**Homebrew (macOS, Linuxbrew)** — installs both `tla` and `tla-mcp`:
|
|
265
|
+
|
|
266
|
+
```bash
|
|
267
|
+
brew install fabracht/tla/tla-mcp
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
Requires the `homebrew-tla` tap to exist. The formula source lives at [`packaging/homebrew/tla-mcp.rb`](packaging/homebrew/tla-mcp.rb); [`packaging/homebrew/README.md`](packaging/homebrew/README.md) explains the one-time tap setup.
|
|
271
|
+
|
|
272
|
+
**Install script (Linux, macOS)** — downloads a prebuilt binary and verifies its SHA256, no Rust toolchain required:
|
|
273
|
+
|
|
274
|
+
```bash
|
|
275
|
+
curl -fsSL https://raw.githubusercontent.com/fabracht/tla-rs/main/scripts/install.sh | bash
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
Pass flags to scope the install: `--bin tla-mcp` for just the MCP server, `--version v0.4.3` to pin a release (releases prior to v0.4.3 do not ship a `SHA256SUMS` asset and are rejected), `--dir /usr/local/bin` for a system-wide install (requires `sudo`).
|
|
279
|
+
|
|
280
|
+
**Cargo (any platform with a Rust toolchain)**:
|
|
263
281
|
|
|
264
282
|
```bash
|
|
265
283
|
cargo install tla-checker --bin tla-mcp
|
|
266
284
|
```
|
|
267
285
|
|
|
268
|
-
|
|
286
|
+
**GitHub release downloads** — prebuilt binaries for Linux x86_64, macOS x86_64, macOS arm64, and Windows x86_64 are attached to every [release](https://github.com/fabracht/tla-rs/releases/latest) as `tla-<platform>` and `tla-mcp-<platform>`.
|
|
269
287
|
|
|
270
|
-
From a working copy
|
|
288
|
+
**From a working copy**:
|
|
271
289
|
|
|
272
290
|
```bash
|
|
273
291
|
cargo install --path . --bin tla-mcp
|
package/package.json
CHANGED
package/tla_checker.js
CHANGED
|
@@ -114,7 +114,6 @@ export function check_spec_with_options(spec_source, options_json) {
|
|
|
114
114
|
wasm.__wbindgen_export3(deferred3_0, deferred3_1, 1);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
|
|
118
117
|
function __wbg_get_imports() {
|
|
119
118
|
const import0 = {
|
|
120
119
|
__proto__: null,
|
|
@@ -134,8 +133,7 @@ function getDataViewMemory0() {
|
|
|
134
133
|
}
|
|
135
134
|
|
|
136
135
|
function getStringFromWasm0(ptr, len) {
|
|
137
|
-
|
|
138
|
-
return decodeText(ptr, len);
|
|
136
|
+
return decodeText(ptr >>> 0, len);
|
|
139
137
|
}
|
|
140
138
|
|
|
141
139
|
let cachedUint8ArrayMemory0 = null;
|
|
@@ -212,8 +210,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
212
210
|
|
|
213
211
|
let WASM_VECTOR_LEN = 0;
|
|
214
212
|
|
|
215
|
-
let wasmModule, wasm;
|
|
213
|
+
let wasmModule, wasmInstance, wasm;
|
|
216
214
|
function __wbg_finalize_init(instance, module) {
|
|
215
|
+
wasmInstance = instance;
|
|
217
216
|
wasm = instance.exports;
|
|
218
217
|
wasmModule = module;
|
|
219
218
|
cachedDataViewMemory0 = null;
|
package/tla_checker_bg.wasm
CHANGED
|
Binary file
|