@fabricorg/platform-host 0.2.0 → 0.3.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/CHANGELOG.md +8 -0
- package/README.md +6 -0
- package/dist/index.cjs +386 -204
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +61 -2
- package/dist/index.d.ts +61 -2
- package/dist/index.js +384 -205
- package/dist/index.js.map +1 -1
- package/package.json +62 -66
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @fabricorg/platform-host
|
|
2
2
|
|
|
3
|
+
## 0.3.0 — 2026-07-19
|
|
4
|
+
|
|
5
|
+
- Add tenant-scoped stable command idempotency and terminal replay.
|
|
6
|
+
- Add atomic Postgres claim leases, bounded store-backed workers, and expired-work recovery.
|
|
7
|
+
- Add operator listing and event replay capabilities to recoverable stores.
|
|
8
|
+
- Ensure unexpected lifecycle failures, including unregistered adapters, end terminally.
|
|
9
|
+
- Add direct coverage for the Postgres/Lakebase store contract and worker recovery.
|
|
10
|
+
|
|
3
11
|
## 0.2.0 — 2026-07-19
|
|
4
12
|
|
|
5
13
|
- Add pre-persistence action-parameter redaction so durable audit records cannot retain forbidden secrets.
|
package/README.md
CHANGED
|
@@ -18,6 +18,12 @@ Actor → ActionInvocation → PolicyEvaluation → StateMachine → Handler →
|
|
|
18
18
|
worker entry point. With no dispatcher the host executes inline, which is intended for tests and local
|
|
19
19
|
development only.
|
|
20
20
|
|
|
21
|
+
Production polling workers can use `createStoreBackedActionDispatcher()` plus
|
|
22
|
+
`runPlatformActionWorker()`. The pending invocation row is the durable queue item; workers claim
|
|
23
|
+
bounded batches with an atomic lease and `FOR UPDATE SKIP LOCKED`, and an expired `running` lease is
|
|
24
|
+
recoverable after interruption. Pass a stable `idempotencyKey` to `submitAction()` so retries resolve
|
|
25
|
+
to the original tenant-scoped invocation instead of creating another mutation.
|
|
26
|
+
|
|
21
27
|
Sensitive values must not be passed as action parameters. Stage them in tenant-bound encrypted storage
|
|
22
28
|
and pass an opaque identifier instead; action parameters are intentionally durable audit evidence.
|
|
23
29
|
Hosts should additionally configure `redactActionParameters` as a fail-safe allowlist for actions
|