@adonis-agora/durable 0.24.3 → 0.25.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/CHANGELOG.md +39 -0
- package/dist/assets/spa/assets/{index-CV232q_B.js → index-ClD9G7pa.js} +10 -10
- package/dist/assets/spa/assets/index-ClD9G7pa.js.map +1 -0
- package/dist/assets/spa/assets/index-Ds6dCWMa.css +1 -0
- package/dist/assets/spa/index.html +2 -2
- package/dist/src/dashboard/index.d.ts +1 -1
- package/dist/src/dashboard/index.js +1 -1
- package/dist/src/engine.d.ts +10 -4
- package/dist/src/engine.d.ts.map +1 -1
- package/dist/src/engine.js +54 -22
- package/dist/src/engine.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/package.json +5 -2
- package/skills/durable-cluster/SKILL.md +308 -0
- package/skills/durable-determinism/SKILL.md +260 -0
- package/skills/durable-reliability/SKILL.md +352 -0
- package/skills/durable-setup/SKILL.md +293 -0
- package/skills/durable-transports-stores/SKILL.md +296 -0
- package/skills/durable-workflows/SKILL.md +399 -0
- package/dist/assets/spa/assets/index-CTsYsi6p.css +0 -1
- package/dist/assets/spa/assets/index-CV232q_B.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @adonis-agora/durable
|
|
2
2
|
|
|
3
|
+
## 0.25.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#78](https://github.com/DavideCarvalho/adonis-agora-durable/pull/78) [`bb587ec`](https://github.com/DavideCarvalho/adonis-agora-durable/commit/bb587ec36d9bf0742b72eb74abd653fe349dd9ea) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Add TanStack Intent AI-agent skills
|
|
8
|
+
|
|
9
|
+
Ships seven `SKILL.md` agent skills co-located with their packages and published in the npm tarballs via a new `"skills/"` entry in each package's `files` array:
|
|
10
|
+
|
|
11
|
+
- `packages/adonis/skills/` — durable-setup, durable-workflows, durable-determinism, durable-transports-stores, durable-reliability, durable-cluster
|
|
12
|
+
- `packages/dashboard/skills/` — durable-observability
|
|
13
|
+
|
|
14
|
+
Each package also gains the `tanstack-intent` keyword and a devDependency on `@tanstack/intent`. Discovery artifacts (`_artifacts/domain_map.yaml`, `skill_spec.md`, `skill_tree.yaml`) live at the repo root, and `.github/workflows/check-skills.yml` validates skills on PRs.
|
|
15
|
+
|
|
16
|
+
## 0.25.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- [#74](https://github.com/DavideCarvalho/adonis-agora-durable/pull/74) [`7cde22b`](https://github.com/DavideCarvalho/adonis-agora-durable/commit/7cde22b05ab0c67c3a6220e09e74bccecc898849) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - An engine with no `namespace` now drives every namespace, instead of only `'default'`.
|
|
21
|
+
|
|
22
|
+
`namespace` was normalised to `'default'` at construction, so it was always a scope and never a
|
|
23
|
+
wildcard: every engine polled exactly one pool, and `resume` of a run from another threw
|
|
24
|
+
`NamespaceMismatch`. Serving several tenant pools therefore meant one control plane per pool.
|
|
25
|
+
|
|
26
|
+
Leaving `namespace` unset now makes the instance an **operator**: its poll paths (`runPending`,
|
|
27
|
+
`recoverIncomplete`, `resumeDueTimers`, `sweepTimeouts`, and the blocked poll) act on runs of every
|
|
28
|
+
namespace, and the `resume` guard does not apply to it. Setting a `namespace` scopes an instance to
|
|
29
|
+
one pool exactly as before, and a scoped engine still refuses a foreign run.
|
|
30
|
+
|
|
31
|
+
Routing follows the run rather than the engine, which is what makes one operator able to serve many
|
|
32
|
+
pools: a step now dispatches to `<name>@<run.namespace>`, with an explicit `StepDef.partition` still
|
|
33
|
+
winning. A child run (`ctx.child`, `ctx.startChild`, and a remote worker's `startChild` command)
|
|
34
|
+
inherits the **parent run's** namespace rather than the executing engine's — without that, an
|
|
35
|
+
operator recovering a tenant's parent would dispatch its children to the operator's own pool.
|
|
36
|
+
|
|
37
|
+
Additive for a deployment that never set `namespace`: runs are still stored in the `'default'` pool,
|
|
38
|
+
`undefined`/`''`/`'default'` still collapse to the bare queue token, and the wire names are
|
|
39
|
+
byte-identical. The one visible change there is that an operator no longer calls `useNamespace` on
|
|
40
|
+
its transports — not propagating is what keeps it on the bare prefix every pool's queues derive from.
|
|
41
|
+
|
|
3
42
|
## 0.24.3
|
|
4
43
|
|
|
5
44
|
### Patch Changes
|