@listen-fire/engine-contracts 0.12.6 → 0.12.8
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/dist/protocol.d.ts +4 -2
- package/dist/protocol.js +6 -3
- package/dist/versions.d.ts +1 -1
- package/package.json +2 -2
package/dist/protocol.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const ADAPTER_TEAM_HEADER = "x-listen-fire-team";
|
|
|
12
12
|
export declare const MANIFEST_PROTOCOL_VERSION = 2;
|
|
13
13
|
/** The highest minor of version 2 this release speaks: a host reads 2.0 to
|
|
14
14
|
* 2.`PROTOCOL_MINOR` (docs/contracts/adapter-protocol.md "Minors of version 2"). */
|
|
15
|
-
export declare const PROTOCOL_MINOR =
|
|
15
|
+
export declare const PROTOCOL_MINOR = 3;
|
|
16
16
|
/** What a manifest shows of a feature: a method it lists, by name or by its
|
|
17
17
|
* ending (`<slot>.watch`). Data, so the Rust twin
|
|
18
18
|
* (module-wire `envelope::PROTOCOL_MINORS`) is test-held equal to it. */
|
|
@@ -22,7 +22,9 @@ export type ProtocolMinorUse = {
|
|
|
22
22
|
methodEndingWith: string;
|
|
23
23
|
};
|
|
24
24
|
/** Each minor of version 2 and the feature that a manifest using it lists. A
|
|
25
|
-
* minor
|
|
25
|
+
* minor that is no feature a manifest shows has no row: 2.0, and 2.3 (a rule
|
|
26
|
+
* for sources, labelled poll events, and a host behaviour; no module states
|
|
27
|
+
* it). */
|
|
26
28
|
export declare const PROTOCOL_MINORS: readonly {
|
|
27
29
|
minor: number;
|
|
28
30
|
feature: string;
|
package/dist/protocol.js
CHANGED
|
@@ -39,9 +39,11 @@ exports.ADAPTER_TEAM_HEADER = 'x-listen-fire-team';
|
|
|
39
39
|
exports.MANIFEST_PROTOCOL_VERSION = 2;
|
|
40
40
|
/** The highest minor of version 2 this release speaks: a host reads 2.0 to
|
|
41
41
|
* 2.`PROTOCOL_MINOR` (docs/contracts/adapter-protocol.md "Minors of version 2"). */
|
|
42
|
-
exports.PROTOCOL_MINOR =
|
|
42
|
+
exports.PROTOCOL_MINOR = 3;
|
|
43
43
|
/** Each minor of version 2 and the feature that a manifest using it lists. A
|
|
44
|
-
* minor
|
|
44
|
+
* minor that is no feature a manifest shows has no row: 2.0, and 2.3 (a rule
|
|
45
|
+
* for sources, labelled poll events, and a host behaviour; no module states
|
|
46
|
+
* it). */
|
|
45
47
|
exports.PROTOCOL_MINORS = [
|
|
46
48
|
{ minor: 1, feature: 'a <slot>.watch method', uses: { methodEndingWith: '.watch' } },
|
|
47
49
|
{ minor: 2, feature: 'work.enqueueIfAbsent', uses: { method: 'work.enqueueIfAbsent' } },
|
|
@@ -1281,7 +1283,8 @@ exports.METHODS = {
|
|
|
1281
1283
|
// declaration, see `refuseUnpairedDeclarations`).
|
|
1282
1284
|
// One solicited pull of a polled source: `config` is the listen's options,
|
|
1283
1285
|
// `checkpoint` whatever the previous poll returned (absent the first time),
|
|
1284
|
-
// `movementId` the automation the listen belongs to where the host knows it
|
|
1286
|
+
// `movementId` the automation the listen belongs to where the host knows it
|
|
1287
|
+
// (`lf` sends the listen's pipeline, `listen:<file>:<movement>`).
|
|
1285
1288
|
poll: {
|
|
1286
1289
|
params: zod_1.z.object({ config: zod_1.z.unknown(), checkpoint: zod_1.z.unknown().optional(), movementId: zod_1.z.string().optional() }),
|
|
1287
1290
|
result: zod_1.z.object({
|
package/dist/versions.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@listen-fire/engine-contracts",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "0.12.
|
|
4
|
+
"version": "0.12.8",
|
|
5
5
|
"description": "The contracts the movement engine speaks: the tenant id, the host families and entry-point inputs, the parked state, file descriptors, the adapter protocol, the adapter contract and its manifest, the catalog's schema types and positions, the Expression vocabulary, plugins as data and the model names. Runtime-neutral: no Node import, no ambient types.",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=22.23.4 <23"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"type": "commonjs",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"zod": "4.1.12",
|
|
33
|
-
"@listen-fire/movement-lang": "^0.12.
|
|
33
|
+
"@listen-fire/movement-lang": "^0.12.8"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "20.16.5",
|