libpetri 3.0.1 → 4.1.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 +5 -1
- package/dist/{chunk-JZIEWVAV.js → chunk-FD3S4TZM.js} +1330 -1077
- package/dist/chunk-FD3S4TZM.js.map +1 -0
- package/dist/{chunk-6NH64RCU.js → chunk-GJAHGHGT.js} +2 -2
- package/dist/debug/index.d.ts +2 -2
- package/dist/doclet/index.d.ts +1 -1
- package/dist/doclet/resources/petrinet-diagrams.js +6364 -6360
- package/dist/{event-store-BFX_yJ8I.d.ts → event-store-B3ppVTpO.d.ts} +1 -1
- package/dist/export/index.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/{petri-net-WSScMyDL.d.ts → petri-net-p0ONpSAO.d.ts} +32 -2
- package/dist/render-dom/index.js +1 -1
- package/dist/verification/index.d.ts +307 -214
- package/dist/verification/index.js +39 -7
- package/dist/verification/index.js.map +1 -1
- package/dist/viewer/index.js +1 -1
- package/dist/viewer/viewer.iife.js +6364 -6360
- package/package.json +4 -7
- package/dist/chunk-JZIEWVAV.js.map +0 -1
- /package/dist/{chunk-6NH64RCU.js.map → chunk-GJAHGHGT.js.map} +0 -0
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ Use places and transitions for coordination rather than hiding concurrency insid
|
|
|
59
59
|
|---|---|
|
|
60
60
|
| `libpetri` | Core model, runtime, events, and composition |
|
|
61
61
|
| `libpetri/export` | DOT mapping and rendering |
|
|
62
|
-
| `libpetri/verification` | Structural analysis, state classes, and
|
|
62
|
+
| `libpetri/verification` | Structural analysis, state classes, and SMT verification through the `z3` executable |
|
|
63
63
|
| `libpetri/debug` | Debug protocol and session archives |
|
|
64
64
|
| `libpetri/viewer` | Interactive DOT/SVG viewer, the canonical renderer |
|
|
65
65
|
| `libpetri/render-dom` | Thin compatibility wrapper over `libpetri/viewer` |
|
|
@@ -123,6 +123,10 @@ npm run check
|
|
|
123
123
|
npm test
|
|
124
124
|
```
|
|
125
125
|
|
|
126
|
+
## SMT verification needs a `z3` executable
|
|
127
|
+
|
|
128
|
+
The package does not bundle a solver. `SmtVerifier` runs the `z3` executable found on `PATH` (or named by `LIBPETRI_Z3`), version 4.8.0 or newer, one process per query, so the event loop stays free while it solves; `z3Available()` from `libpetri/verification` tells you whether one resolves, and without it every verification returns `unknown` with a reason naming the command. Set `LIBPETRI_SMT_DUMP` to a directory to keep every SMT-LIB2 script and solver reply. The timeout is per solver invocation. The verification entry is Node-only.
|
|
129
|
+
|
|
126
130
|
## Project links
|
|
127
131
|
|
|
128
132
|
- [Language-agnostic specification](https://github.com/debe/libpetri/blob/main/spec/00-index.md)
|