eutaxy 0.18.0 → 0.19.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.
Files changed (74) hide show
  1. package/README.md +15 -12
  2. package/dist/aws.d.mts +2 -2
  3. package/dist/aws.mjs +3 -2
  4. package/dist/aws.mjs.map +1 -1
  5. package/dist/bin.mjs +1 -1
  6. package/dist/check-zkHLdWyf.mjs +1281 -0
  7. package/dist/check-zkHLdWyf.mjs.map +1 -0
  8. package/dist/cli-CNAKqV9R.mjs +297 -0
  9. package/dist/cli-CNAKqV9R.mjs.map +1 -0
  10. package/dist/cli.d.mts.map +1 -1
  11. package/dist/cli.mjs +1 -1
  12. package/dist/cloudflare.d.mts +37 -5
  13. package/dist/cloudflare.d.mts.map +1 -1
  14. package/dist/cloudflare.mjs +6417 -3
  15. package/dist/cloudflare.mjs.map +1 -0
  16. package/dist/{delivery-invariants-BRwfZJrs.mjs → delivery-invariants-BJDck0K8.mjs} +2 -2
  17. package/dist/{delivery-invariants-BRwfZJrs.mjs.map → delivery-invariants-BJDck0K8.mjs.map} +1 -1
  18. package/dist/{delivery-invariants-D-_GPOqE.d.mts → delivery-invariants-C3GXJIbg.d.mts} +2 -2
  19. package/dist/{delivery-invariants-D-_GPOqE.d.mts.map → delivery-invariants-C3GXJIbg.d.mts.map} +1 -1
  20. package/dist/draft-DEUDffHa.mjs +467 -0
  21. package/dist/draft-DEUDffHa.mjs.map +1 -0
  22. package/dist/{src-H1Q8ytEx.mjs → generate-TBJM3-2P.mjs} +3 -618
  23. package/dist/generate-TBJM3-2P.mjs.map +1 -0
  24. package/dist/index.d.mts +36 -36
  25. package/dist/index.d.mts.map +1 -1
  26. package/dist/index.mjs +6 -3
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/install-DkzpGA5D.mjs +611 -0
  29. package/dist/install-DkzpGA5D.mjs.map +1 -0
  30. package/dist/{explore-D33RP9hF.d.mts → ir-KpC2epGn.d.mts} +70 -70
  31. package/dist/ir-KpC2epGn.d.mts.map +1 -0
  32. package/dist/keys-xtanNmuR.mjs +111 -0
  33. package/dist/keys-xtanNmuR.mjs.map +1 -0
  34. package/dist/mcp-B64Ko6y7.mjs +539 -0
  35. package/dist/mcp-B64Ko6y7.mjs.map +1 -0
  36. package/dist/{platform-CawKCUru.d.mts → platform-Cs9V9t2k.d.mts} +25 -11
  37. package/dist/platform-Cs9V9t2k.d.mts.map +1 -0
  38. package/dist/pool-CXN4CwGY.mjs +61 -0
  39. package/dist/pool-CXN4CwGY.mjs.map +1 -0
  40. package/dist/{provers-DS44OeEm.mjs → provers-D8VaY_OM.mjs} +18 -2
  41. package/dist/provers-D8VaY_OM.mjs.map +1 -0
  42. package/dist/reader-B9FSoEYW.mjs +1 -0
  43. package/dist/reader-Cz6_bLf6.mjs +3774 -0
  44. package/dist/reader-Cz6_bLf6.mjs.map +1 -0
  45. package/dist/report-_Vzavqg0.mjs +310 -0
  46. package/dist/report-_Vzavqg0.mjs.map +1 -0
  47. package/dist/src-B2DpVbMN.mjs +2 -0
  48. package/dist/src-BFGTvuA_.mjs +1235 -0
  49. package/dist/src-BFGTvuA_.mjs.map +1 -0
  50. package/dist/src-BtLZPRyG.mjs +120 -0
  51. package/dist/src-BtLZPRyG.mjs.map +1 -0
  52. package/dist/src-CB8DcvsK.mjs +1 -0
  53. package/dist/src-COuquJvI.mjs +269 -0
  54. package/dist/src-COuquJvI.mjs.map +1 -0
  55. package/dist/src-Chn-m_r1.mjs +1082 -0
  56. package/dist/src-Chn-m_r1.mjs.map +1 -0
  57. package/dist/src-DwYD3QQJ.mjs +346 -0
  58. package/dist/src-DwYD3QQJ.mjs.map +1 -0
  59. package/dist/{src-Whn0RMSh.mjs → src-Dx4QvrQb.mjs} +559 -517
  60. package/dist/src-Dx4QvrQb.mjs.map +1 -0
  61. package/dist/toolchain-DWfymxAJ.mjs +80 -0
  62. package/dist/toolchain-DWfymxAJ.mjs.map +1 -0
  63. package/dist/verdict-evEM5Gxx.mjs +12 -0
  64. package/dist/verdict-evEM5Gxx.mjs.map +1 -0
  65. package/package.json +4 -1
  66. package/dist/cli-DyA7uTBg.mjs +0 -9447
  67. package/dist/cli-DyA7uTBg.mjs.map +0 -1
  68. package/dist/explore-D33RP9hF.d.mts.map +0 -1
  69. package/dist/platform-CawKCUru.d.mts.map +0 -1
  70. package/dist/provers-DS44OeEm.mjs.map +0 -1
  71. package/dist/src-H1Q8ytEx.mjs.map +0 -1
  72. package/dist/src-Whn0RMSh.mjs.map +0 -1
  73. package/dist/workerd-tI8INa6v.mjs +0 -6334
  74. package/dist/workerd-tI8INa6v.mjs.map +0 -1
package/README.md CHANGED
@@ -21,8 +21,8 @@ on state that was still current.
21
21
 
22
22
  **Status: early.** The documentation is at
23
23
  [eutaxy.dev](https://eutaxy.dev). The design is in
24
- [docs/design.md](https://github.com/Kaisenwerk/eutaxy/blob/v0.18.0/docs/design.md); the phases and their gates are in
25
- [docs/roadmap.md](https://github.com/Kaisenwerk/eutaxy/blob/v0.18.0/docs/roadmap.md).
24
+ [docs/design.md](https://github.com/Kaisenwerk/eutaxy/blob/v0.19.0/docs/design.md); the phases and their gates are in
25
+ [docs/roadmap.md](https://github.com/Kaisenwerk/eutaxy/blob/v0.19.0/docs/roadmap.md).
26
26
 
27
27
  ## Verdicts
28
28
 
@@ -55,14 +55,17 @@ declares exactly that, and pnpm links nothing else.
55
55
  ## Installing
56
56
 
57
57
  ```sh
58
- pnpm add -D eutaxy vitest @cloudflare/vitest-plugin typescript@7.1.0-beta
58
+ pnpm add -D eutaxy vitest @cloudflare/vitest-plugin
59
+ # with specs or proofs, the TypeScript compiler too:
60
+ pnpm add -D typescript@7.1.0-beta
59
61
  ```
60
62
 
61
- Requires Node 24 and TypeScript 7.1 (the beta until it is released): the
62
- spec reader asks your compiler for the types of your functions. Inside
63
- Vitest, `eutaxy/cloudflare` loads without the compiler, so a project on an
64
- older TypeScript runs scenarios with the 7.1 beta as Eutaxy's own dev
65
- dependency. Published as `eutaxy` on npm. A `--prover` engine also
63
+ Requires Node 24. Specs and proofs also need TypeScript 7.1 (the beta until
64
+ it is released): the spec reader asks your compiler for the types of your
65
+ functions. A project that only checks scenarios needs no TypeScript
66
+ installed: `eutaxy/cloudflare` loads without the compiler, and so does
67
+ `eutaxy check` while the scenario's directory holds no spec file.
68
+ Published as `eutaxy` on npm. A `--prover` engine also
66
69
  needs its pinned toolchain on the machine, which one command installs:
67
70
  `npx eutaxy prover install lean`, or `… smt` for Z3 (checksum-verified,
68
71
  into Eutaxy's cache; a toolchain installed by hand serves too). Without it
@@ -76,9 +79,9 @@ Write a scenario beside your Worker and run the check:
76
79
  eutaxy check ./payments.sim.ts
77
80
  ```
78
81
 
79
- [examples/payments-queue](https://github.com/Kaisenwerk/eutaxy/blob/v0.18.0/examples/payments-queue) is a complete, runnable
82
+ [examples/payments-queue](https://github.com/Kaisenwerk/eutaxy/blob/v0.19.0/examples/payments-queue) is a complete, runnable
80
83
  version of this: a queue consumer with a bug the check finds, and the fixed
81
- Worker it reports `BOUNDED` for. [examples/](https://github.com/Kaisenwerk/eutaxy/blob/v0.18.0/examples) holds the others,
84
+ Worker it reports `BOUNDED` for. [examples/](https://github.com/Kaisenwerk/eutaxy/blob/v0.19.0/examples) holds the others,
82
85
  each a Worker, its scenario, the bug and the fix: a webhook with an
83
86
  idempotency key, a lease pool object with an alarm, an Agent with a
84
87
  schedule and WebSocket connections, two Workers over a service binding,
@@ -153,8 +156,8 @@ pnpm install
153
156
  pnpm check # lint, typecheck, test
154
157
  ```
155
158
 
156
- See [CONTRIBUTING.md](https://github.com/Kaisenwerk/eutaxy/blob/v0.18.0/CONTRIBUTING.md).
159
+ See [CONTRIBUTING.md](https://github.com/Kaisenwerk/eutaxy/blob/v0.19.0/CONTRIBUTING.md).
157
160
 
158
161
  ## License
159
162
 
160
- [Apache-2.0](https://github.com/Kaisenwerk/eutaxy/blob/v0.18.0/LICENSE).
163
+ [Apache-2.0](https://github.com/Kaisenwerk/eutaxy/blob/v0.19.0/LICENSE).
package/dist/aws.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { M as JsonValue, S as StateQuery, T as EffectSelector, a as PlatformData, c as WorkerRef, f as AtLeastOnce, i as ExternalDecl, m as Invariant, n as Platform, o as ScenarioSpec, r as Bounds, x as RowCondition } from "./platform-CawKCUru.mjs";
2
- import { n as atMostOncePerKey } from "./delivery-invariants-D-_GPOqE.mjs";
1
+ import { M as JsonValue, T as EffectSelector, a as PlatformData, b as RowCondition, c as WorkerRef, f as AtLeastOnce, i as ExternalDecl, m as Invariant, n as Platform, o as ScenarioSpec, r as Bounds, x as StateQuery } from "./platform-Cs9V9t2k.mjs";
2
+ import { n as atMostOncePerKey } from "./delivery-invariants-C3GXJIbg.mjs";
3
3
  import { Readable } from "node:stream";
4
4
  import { Agent, AgentOptions } from "node:http";
5
5
  import { Agent as Agent$1, AgentOptions as AgentOptions$1 } from "node:https";
package/dist/aws.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
  import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./rolldown-runtime-C1I3wEg2.mjs";
2
- import { A as readFaults, C as patchProperty, E as validateScenario, L as invocationOf, R as redelivery, T as defaultBounds, d as note, f as runInvocation, i as rawRun, j as writeFaults, k as decisionFaults, l as decide, n as compareSides, r as proxiedSide, w as toJson$1, x as realTick, z as canonicalJson } from "./src-Whn0RMSh.mjs";
3
- import { n as atLeastOncePerMessage$1, r as atMostOncePerKey } from "./delivery-invariants-BRwfZJrs.mjs";
2
+ import { o as canonicalJson } from "./src-BtLZPRyG.mjs";
3
+ import { A as readFaults, C as patchProperty, E as validateScenario, F as redelivery, P as invocationOf, T as defaultBounds, c as rawRun, d as note, f as runInvocation, j as writeFaults, k as decisionFaults, l as decide, o as compareSides, s as proxiedSide, w as toJson$1, x as realTick } from "./src-Dx4QvrQb.mjs";
4
+ import { n as atLeastOncePerMessage$1, r as atMostOncePerKey } from "./delivery-invariants-BJDck0K8.mjs";
4
5
  import { $ as booleanSelector, $t as ServiceException, A as BinaryDecisionDiagram, An as isValidHostLabel, B as NODE_REGION_CONFIG_FILE_OPTIONS, C as isIpAddress, Ct as dateToUtcString, Dt as parseRfc7231DateTime, E as EndpointError, En as normalizeProvider$1, Et as parseRfc3339DateTimeWithOffset, F as init_config$1, Fn as hasOwn, G as NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, H as REGION_ENV_NAME, Ht as NoOpLogger, It as fromBase64, Jt as resolveDefaultRuntimeConfig, Kt as getDefaultExtensionConfiguration, L as resolveDefaultsModeConfig, Ln as getSmithyContext, N as resolveParams, Nn as HttpRequest, Nt as toBase64, O as EndpointCache, On as isValidHostname, Ot as expectUnion, P as config_exports, Pt as fromUtf8, Qt as loadConfigsForDefaultMode, Rt as client_exports$1, Sn as parseUrl, Tt as parseEpochTimestamp, U as REGION_INI_NAME, V as NODE_REGION_CONFIG_OPTIONS, Vt as makeBuilder, Wt as getValueFromTextNode, X as loadConfig, Yt as emitWarningIfUnsupportedVersion$1, Z as SelectorType, _ as resolveEndpointConfig, _t as _parseRfc7231DateTime, b as decideEndpoint, bn as init_transport, bt as quoteHeader, c as generateIdempotencyToken, cn as TypeRegistry, ct as NumericValue, d as v4, en as decorateServiceException, ft as splitHeader, g as init_endpoints, gn as deref, gt as _parseRfc3339DateTimeWithOffset, h as getEndpointPlugin, ht as _parseEpochTimestamp, in as Command, jn as HttpResponse, jt as toUtf8, l as init_serde, m as endpoints_exports, mn as getSchemaSerdePlugin, mt as splitEvery, n as init_checksum, nn as createAggregatedClient, on as init_schema, p as sdkStreamMixin, pn as translateTraits, q as NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, r as Sha256Node, rt as calculateBodyLength, s as Uint8ArrayBlobAdapter, sn as schema_exports, t as checksum_exports, tt as ProviderError, u as serde_exports, un as NormalizedSchema, ut as nv, vn as Client$1, w as customEndpointFunctions, wn as parseQueryString, xt as LazyJsonString, y as resolveEndpoint, z as resolveRegionConfig, zn as require_dist_cjs$20, zt as init_client$1 } from "./checksum-75EliDEr.mjs";
5
6
  import { Readable } from "node:stream";
6
7
  import { platform, release } from "node:os";