@gorules/zen-engine 0.54.0 → 0.55.0-beta.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.
Files changed (3) hide show
  1. package/index.d.ts +432 -3
  2. package/index.js +53 -52
  3. package/package.json +10 -10
package/index.d.ts CHANGED
@@ -1,5 +1,269 @@
1
1
  /* auto-generated by NAPI-RS */
2
2
  /* eslint-disable */
3
+
4
+ export type PolicyPropertyKind = 'input' | 'computed';
5
+ export type PolicyFieldKind = 'scalar' | 'enum' | 'relationship' | 'reference';
6
+ export type PolicySeverity = 'error' | 'warning';
7
+
8
+ /** Text range, `[start, end)` byte offsets. */
9
+ export type PolicySpan = [number, number];
10
+
11
+ /** Rename target — a top-level entity, an entity field, or a global property. */
12
+ export type PolicyRenameTarget =
13
+ | { kind: 'entity'; name: string }
14
+ | { kind: 'field'; entity: string; field: string }
15
+ | { kind: 'global'; name: string };
16
+
17
+ /** What kind of span a cursor is sitting in, with any disambiguation. */
18
+ export type PolicyCursorTarget =
19
+ | { kind: 'expression'; id: string }
20
+ | { kind: 'assertionOutput' }
21
+ | { kind: 'expressionKey' }
22
+ | { kind: 'matchTarget' }
23
+ | { kind: 'matchValue'; id: string }
24
+ | { kind: 'decisionTableHead'; col: string }
25
+ | { kind: 'decisionTableCell'; row: string; col: string }
26
+ | { kind: 'dataModelName' }
27
+ | { kind: 'dataModelProperty'; id: string };
28
+
29
+ /**
30
+ * How an entity field came into existence — declared by a DataModel
31
+ * (`schema`) or produced by a rule block (`computed`).
32
+ */
33
+ export type PolicyFieldOrigin =
34
+ | { origin: 'schema'; source: string; fieldKind: PolicyFieldKindInfo }
35
+ | { origin: 'computed'; writtenBy: PolicyPropertyWriter };
36
+ export type PolicyDiagnosticCode =
37
+ | 'UNDEFINED_VARIABLE'
38
+ | 'TYPE_MISMATCH'
39
+ | 'INVALID_EXPRESSION'
40
+ | 'PARSE_ERROR'
41
+ | 'MISSING_DEFAULT_BRANCH'
42
+ | 'EMPTY_BLOCK'
43
+ | 'MIXED_SCOPE'
44
+ | 'CYCLIC_DEPENDENCY'
45
+ | 'DUPLICATE_WRITER'
46
+ | 'INVALID_WRITE_PATH'
47
+ | 'INPUT_OVERRIDE'
48
+ | 'SELF_REFERENCING_WRITE'
49
+ | 'UNREACHABLE_ENTITY_READ'
50
+ | 'PARTIAL_OBJECT_WRITE'
51
+ | 'DATA_MODEL_COLLISION'
52
+ | 'UNKNOWN_DATA_MODEL_TARGET'
53
+ | 'DUPLICATE_PROPERTY'
54
+ | 'DUPLICATE_ENUM_VALUE'
55
+ | 'INVALID_NAME'
56
+ | 'MAX_DEPTH_EXCEEDED'
57
+ | 'IMPORT_NOT_FOUND'
58
+ | 'CIRCULAR_IMPORT';
59
+
60
+ export type PolicyVariableType =
61
+ | { type: 'any' }
62
+ | { type: 'null' }
63
+ | { type: 'bool' }
64
+ | { type: 'string' }
65
+ | { type: 'number' }
66
+ | { type: 'date' }
67
+ | { type: 'interval' }
68
+ | { type: 'const'; value: string }
69
+ | { type: 'enum'; name: string | null; values: string[] }
70
+ | { type: 'array'; items: PolicyVariableType }
71
+ | { type: 'object'; fields: Record<string, PolicyVariableType> }
72
+ | { type: 'nullable'; inner: PolicyVariableType };
73
+
74
+ /**
75
+ * Wire-format block — the same shape passed into `setPolicy` / `updateBlock`.
76
+ * The engine emits these inside `replaceBlock` / `insertBlock` edits so a
77
+ * host can swap them in by id without text-span surgery.
78
+ */
79
+ export interface PolicyWireBlock {
80
+ id: string;
81
+ type: string;
82
+ props: { dataJson?: string; schemaJson?: string };
83
+ }
84
+
85
+ /**
86
+ * Block-level edit emitted by code-mod operations (rename today; cascade
87
+ * delete / code-actions / extract-refactor planned). Hosts apply each by
88
+ * id-keyed swap (same path as `updateBlock` / `removeBlock`).
89
+ *
90
+ * - `replaceBlock` — overwrite an existing block's wire content.
91
+ * - `deleteBlock` — remove a block by id.
92
+ * - `insertBlock` — append a new block (after `afterBlockId` if given).
93
+ */
94
+ export type PolicyEngineEdit =
95
+ | {
96
+ kind: 'replaceBlock';
97
+ policyPath: string;
98
+ blockId: string;
99
+ newBlock: PolicyWireBlock;
100
+ }
101
+ | { kind: 'deleteBlock'; policyPath: string; blockId: string }
102
+ | {
103
+ kind: 'insertBlock';
104
+ policyPath: string;
105
+ afterBlockId?: string;
106
+ newBlock: PolicyWireBlock;
107
+ };
108
+
109
+ /**
110
+ * What kind of usage site a `PolicyReferenceSite` represents.
111
+ *
112
+ * - `expressionRead` — a read in an expression body (assertion condition,
113
+ * decision-table cell, decision-tree statement value).
114
+ * - `writeKey` — an `entity.field` write target (assertion output, DT
115
+ * column head, tree statement key).
116
+ * - `dataModel` — a declaration site in a data-model block (entity name,
117
+ * property name, or relationship/reference target).
118
+ */
119
+ export type PolicyReferenceKind = 'expressionRead' | 'writeKey' | 'dataModel';
120
+
121
+ /**
122
+ * One usage site of a `PolicyRenameTarget` in the workspace, returned by
123
+ * `references()`. Carries enough context to navigate to the site or render
124
+ * a "find references" panel.
125
+ */
126
+ export interface PolicyReferenceSite {
127
+ policyPath: string;
128
+ blockId: string;
129
+ expressionId?: string;
130
+ /** The full original source string this site lives in. */
131
+ source: string;
132
+ /** Character offsets within `source` (LSP-style). */
133
+ span: PolicySpan;
134
+ kind: PolicyReferenceKind;
135
+ }
136
+
137
+ /**
138
+ * One node in the transitive dependency tree returned by `dependencies()`.
139
+ * Each node names a property; `writtenBy` is the block that produces it
140
+ * (absent for inputs — those are leaves). `deps` is the next layer of the
141
+ * dependency tree, recursively. Cycles in the dep graph (cut by the
142
+ * engine's self-edge skip) are protected here too — any revisited node has
143
+ * empty `deps`.
144
+ */
145
+ export interface PolicyDependencyNode {
146
+ property: string;
147
+ writtenBy?: PolicyPropertyWriter;
148
+ unresolved?: boolean;
149
+ resolvedType: PolicyVariableType;
150
+ deps: PolicyDependencyNode[];
151
+ }
152
+
153
+ export interface PolicyEvaluationResult {
154
+ output: unknown;
155
+ /** Evaluation duration in microseconds. */
156
+ duration: number;
157
+ trace?: PolicyTrace;
158
+ }
159
+
160
+ export interface PolicyTrace {
161
+ engineVersion: string;
162
+ properties: Record<string, unknown>;
163
+ executions: PolicyBlockExecution[];
164
+ }
165
+
166
+ export interface PolicyBlockExecution {
167
+ blockId: string;
168
+ policyPath?: string;
169
+ instancePath?: string;
170
+ trace: PolicyBlockTrace;
171
+ operandValues?: Record<string, unknown>;
172
+ }
173
+
174
+ export interface PolicyDecisionTableExtras {
175
+ inputPass: string;
176
+ }
177
+
178
+ export type PolicyBlockTrace =
179
+ | {
180
+ kind: 'assertion';
181
+ result: boolean;
182
+ conditions: { id: string; result: boolean }[];
183
+ }
184
+ | {
185
+ kind: 'decisionTable';
186
+ matchedRows: number[];
187
+ evaluations: Record<string, unknown>[];
188
+ extras?: PolicyDecisionTableExtras;
189
+ }
190
+ | {
191
+ kind: 'expression';
192
+ property: string;
193
+ value: unknown;
194
+ }
195
+ | {
196
+ kind: 'match';
197
+ matchedArm?: string;
198
+ value: unknown;
199
+ arms: { id: string; result: boolean }[];
200
+ };
201
+
202
+ export declare class PolicyWorkspace {
203
+ constructor()
204
+ setPolicy(path: string, document: any): void
205
+ removePolicy(path: string): boolean
206
+ /**
207
+ * Upsert a single block in an existing policy (replace-by-id or append).
208
+ * Errors when the policy does not exist — call `setPolicy` first to
209
+ * create one.
210
+ */
211
+ updateBlock(req: PolicyUpdateBlockRequest): void
212
+ /**
213
+ * Remove a block from an existing policy by id. Returns `true` when a
214
+ * block was removed, `false` when the policy or block didn't exist.
215
+ */
216
+ removeBlock(req: PolicyRemoveBlockRequest): boolean
217
+ policyPaths(): Array<string>
218
+ /**
219
+ * `max_diagnostics` caps the returned list (default: 100). Pass `0` for
220
+ * no cap.
221
+ */
222
+ diagnostics(policyPath: string, maxDiagnostics?: number | undefined | null): Array<PolicyDiagnostic>
223
+ /**
224
+ * `max_diagnostics` caps the returned list (default: 100). Pass `0` for
225
+ * no cap.
226
+ */
227
+ allDiagnostics(maxDiagnostics?: number | undefined | null): Array<PolicyDiagnostic>
228
+ entities(req: PolicyScopeRequest): Array<PolicyEntityInfo>
229
+ globals(req: PolicyScopeRequest): Array<PolicyGlobalInfo>
230
+ inputs(req: PolicyScopeRequest): Array<PolicyInputProperty>
231
+ outputs(req: PolicyScopeRequest): Array<PolicyOutputProperty>
232
+ conditionalSchema(req: PolicyScopeRequest): PolicyConditionalSchema
233
+ inspect(cursor: PolicyExpressionCursor): PolicyInspectResult | null
234
+ completions(cursor: PolicyExpressionCursor): Array<PolicyCompletion>
235
+ prepareRename(cursor: PolicyExpressionCursor): PolicyPrepareRenameResult | null
236
+ /**
237
+ * Returns block-level edits the host applies via id-keyed swap (same
238
+ * path as `update_block`). Each edit's `kind` field discriminates the
239
+ * variant; `replaceBlock` carries a `newBlock` payload that is the
240
+ * rewritten wire-format `BlockDoc`.
241
+ */
242
+ rename(req: PolicyRenameRequest): PolicyEngineEdit[]
243
+ /**
244
+ * Returns every site in the workspace where `target` is used. Same
245
+ * visitor as `rename`; carries policy/block/expression/source/span/kind
246
+ * for each site so hosts can render a "find references" panel or drive
247
+ * navigation.
248
+ */
249
+ references(target: any): PolicyReferenceSite[]
250
+ /**
251
+ * Default-valued JSON object that matches the workspace's input shape
252
+ * for `req.policy_path` (and optionally `req.goals`). Hosts use it as
253
+ * the initial value of a "Run simulation" panel so `evaluate` can be
254
+ * called immediately without first authoring an input by hand.
255
+ */
256
+ inputSkeleton(req: PolicyScopeRequest): unknown
257
+ /**
258
+ * Returns the transitive dependency tree rooted at `target`. Inverse
259
+ * of `references()`. Per-write granularity — multi-output blocks
260
+ * don't conflate sibling outputs' deps.
261
+ */
262
+ dependencies(target: string): PolicyDependencyNode
263
+ evaluate(req: PolicyEvaluateRequest): PolicyEvaluationResult
264
+ enhanceTrace(req: PolicyEvaluateRequest): PolicyEvaluationResult
265
+ }
266
+
3
267
  export declare class ZenDecision {
4
268
  constructor()
5
269
  evaluate(context: any, opts?: ZenEvaluateOptions | undefined | null): Promise<ZenEngineResponse>
@@ -19,6 +283,9 @@ export declare class ZenEngine {
19
283
  getDecision(key: string): Promise<ZenDecision>
20
284
  safeEvaluate(key: string, context: any, opts?: ZenEvaluateOptions | undefined | null): Promise<{ success: true, data: ZenEngineResponse } | { success: false; error: any; }>
21
285
  safeGetDecision(key: string): Promise<{ success: true, data: ZenDecision } | { success: false; error: any; }>
286
+ evaluateBatch(requests: Array<EvaluateBatchRequest>, opts?: ZenEvaluateOptions | undefined | null): Promise<Array<EvaluateBatchResult>>
287
+ reload(): Promise<void>
288
+ compileFailures(): Array<{ key: string; kind: string; diagnostics?: Array<{ code: string; message: string; severity: string }>; error?: string }>
22
289
  dispose(): void
23
290
  }
24
291
 
@@ -37,6 +304,17 @@ export interface DecisionNode {
37
304
  config: any
38
305
  }
39
306
 
307
+ export interface EvaluateBatchRequest {
308
+ key: string
309
+ context: any
310
+ }
311
+
312
+ export interface EvaluateBatchResult {
313
+ success: boolean
314
+ data?: any
315
+ error?: any
316
+ }
317
+
40
318
  export declare function evaluateExpression(expression: string, context?: any | undefined | null): Promise<any>
41
319
 
42
320
  export declare function evaluateExpressionSync(expression: string, context?: any | undefined | null): any
@@ -47,6 +325,157 @@ export declare function evaluateUnaryExpressionSync(expression: string, context:
47
325
 
48
326
  export declare function overrideConfig(config: ZenConfig): void
49
327
 
328
+ export interface PolicyCompletion {
329
+ label: string
330
+ kind: string
331
+ detail: string
332
+ info: string
333
+ }
334
+
335
+ export interface PolicyConditionalSchema {
336
+ kind: "union" | "flat"
337
+ common: PolicySchemaGroup
338
+ union?: PolicyDiscriminatedUnion
339
+ conditional?: PolicySchemaGroup
340
+ }
341
+
342
+ export interface PolicyDiagnostic {
343
+ code: PolicyDiagnosticCode
344
+ message: string
345
+ severity: PolicySeverity
346
+ policyPath: string
347
+ blockId?: string
348
+ span?: PolicySpan
349
+ expressionId?: string
350
+ target?: PolicyCursorTarget
351
+ }
352
+
353
+ export interface PolicyDiscriminantVariant {
354
+ value?: string
355
+ arm: string
356
+ group: PolicySchemaGroup
357
+ }
358
+
359
+ export interface PolicyDiscriminatedUnion {
360
+ property: string
361
+ resolvedType: PolicyVariableType
362
+ variants: Array<PolicyDiscriminantVariant>
363
+ }
364
+
365
+ export interface PolicyEntityFieldInfo {
366
+ name: string
367
+ resolvedType: PolicyVariableType
368
+ origin: PolicyFieldOrigin
369
+ }
370
+
371
+ export interface PolicyEntityInfo {
372
+ name: string
373
+ fields: Array<PolicyEntityFieldInfo>
374
+ }
375
+
376
+ export interface PolicyEvaluateRequest {
377
+ policyPath: string
378
+ input: unknown
379
+ /** Goals to evaluate. Omit or pass empty for full evaluation. */
380
+ goals?: Array<string>
381
+ trace?: boolean
382
+ }
383
+
384
+ export interface PolicyExpressionCursor {
385
+ policyPath: string
386
+ blockId: string
387
+ pos: number
388
+ /**
389
+ * Tagged `{ kind, ...payload }` discriminating what kind of span the
390
+ * cursor sits in. See `PolicyCursorTarget` in the TypeScript types.
391
+ */
392
+ target: PolicyCursorTarget
393
+ }
394
+
395
+ /**
396
+ * Kept as a `#[napi(object)]` struct purely so NAPI-RS emits the TS type
397
+ * used by `PolicyFieldOrigin.schema.fieldKind`. The runtime shape is
398
+ * hand-built in [`field_kind_to_json`].
399
+ */
400
+ export interface PolicyFieldKindInfo {
401
+ kind: PolicyFieldKind
402
+ target?: string
403
+ array?: boolean
404
+ }
405
+
406
+ export interface PolicyGlobalInfo {
407
+ name: string
408
+ resolvedType: PolicyVariableType
409
+ origin: PolicyFieldOrigin
410
+ }
411
+
412
+ export interface PolicyGuardedProperty {
413
+ path: string
414
+ resolvedType: PolicyVariableType
415
+ requiredWhen?: string
416
+ }
417
+
418
+ export interface PolicyInputProperty {
419
+ path: string
420
+ resolvedType: PolicyVariableType
421
+ }
422
+
423
+ export interface PolicyInspectResult {
424
+ span: PolicySpan
425
+ kind: PolicyVariableType
426
+ label: string
427
+ }
428
+
429
+ export interface PolicyOutputProperty {
430
+ path: string
431
+ resolvedType: PolicyVariableType
432
+ kind: PolicyPropertyKind
433
+ writtenBy?: PolicyPropertyWriter
434
+ }
435
+
436
+ export interface PolicyPrepareRenameResult {
437
+ target: PolicyRenameTarget
438
+ span: PolicySpan
439
+ }
440
+
441
+ export interface PolicyPropertyWriter {
442
+ policyPath: string
443
+ blockId: string
444
+ }
445
+
446
+ export interface PolicyRemoveBlockRequest {
447
+ policyPath: string
448
+ blockId: string
449
+ }
450
+
451
+ export interface PolicyRenameRequest {
452
+ target: PolicyRenameTarget
453
+ newName: string
454
+ }
455
+
456
+ export interface PolicySchemaGroup {
457
+ inputs: Array<PolicyGuardedProperty>
458
+ outputs: Array<PolicyGuardedProperty>
459
+ }
460
+
461
+ export interface PolicyScopeRequest {
462
+ policyPath: string
463
+ /**
464
+ * Goals to constrain schema introspection to. Omit or pass empty
465
+ * for everything reachable from the policy.
466
+ */
467
+ goals?: Array<string>
468
+ }
469
+
470
+ export interface PolicyUpdateBlockRequest {
471
+ policyPath: string
472
+ /**
473
+ * A single wire block (same shape as one entry of `PolicyDocument.blocks`).
474
+ * Upserted by `block.id`: replaces in place if present, appends otherwise.
475
+ */
476
+ block: unknown
477
+ }
478
+
50
479
  export declare function renderTemplate(template: string, context: any): Promise<any>
51
480
 
52
481
  export declare function renderTemplateSync(template: string, context: any): any
@@ -63,9 +492,9 @@ export interface ZenEngineHandlerResponse {
63
492
  }
64
493
 
65
494
  export interface ZenEngineOptions {
66
- loader?: (key: string) => Promise<Buffer | ZenDecisionContent>
67
- customHandler?: (request: ZenEngineHandlerRequest) => Promise<ZenEngineHandlerResponse>
68
- httpHandler?: (request: ZenHttpHandlerRequest) => Promise<ZenHttpHandlerResponse>
495
+ loader?: ((key: string) => Promise<Buffer | ZenDecisionContent>) | { type: 'static'; content: Record<string, object>; allowFailures?: boolean } | { type: 'fs'; path: string; keepInMemory?: boolean; allowFailures?: boolean } | { type: 'zip'; bytes: Buffer; allowFailures?: boolean }
496
+ customHandler?: (request: ZenEngineHandlerRequest) => Promise<ZenEngineHandlerResponse>
497
+ httpHandler?: (request: ZenHttpHandlerRequest) => Promise<ZenHttpHandlerResponse>
69
498
  }
70
499
 
71
500
  export interface ZenEngineResponse {
package/index.js CHANGED
@@ -77,8 +77,8 @@ function requireNative() {
77
77
  try {
78
78
  const binding = require('@gorules/zen-engine-android-arm64')
79
79
  const bindingPackageVersion = require('@gorules/zen-engine-android-arm64/package.json').version
80
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
81
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
80
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
81
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
82
82
  }
83
83
  return binding
84
84
  } catch (e) {
@@ -93,8 +93,8 @@ function requireNative() {
93
93
  try {
94
94
  const binding = require('@gorules/zen-engine-android-arm-eabi')
95
95
  const bindingPackageVersion = require('@gorules/zen-engine-android-arm-eabi/package.json').version
96
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
97
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
96
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
97
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
98
98
  }
99
99
  return binding
100
100
  } catch (e) {
@@ -114,8 +114,8 @@ function requireNative() {
114
114
  try {
115
115
  const binding = require('@gorules/zen-engine-win32-x64-gnu')
116
116
  const bindingPackageVersion = require('@gorules/zen-engine-win32-x64-gnu/package.json').version
117
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
118
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
117
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
118
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
119
119
  }
120
120
  return binding
121
121
  } catch (e) {
@@ -130,8 +130,8 @@ function requireNative() {
130
130
  try {
131
131
  const binding = require('@gorules/zen-engine-win32-x64-msvc')
132
132
  const bindingPackageVersion = require('@gorules/zen-engine-win32-x64-msvc/package.json').version
133
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
134
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
133
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
134
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
135
135
  }
136
136
  return binding
137
137
  } catch (e) {
@@ -147,8 +147,8 @@ function requireNative() {
147
147
  try {
148
148
  const binding = require('@gorules/zen-engine-win32-ia32-msvc')
149
149
  const bindingPackageVersion = require('@gorules/zen-engine-win32-ia32-msvc/package.json').version
150
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
151
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
150
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
151
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
152
152
  }
153
153
  return binding
154
154
  } catch (e) {
@@ -163,8 +163,8 @@ function requireNative() {
163
163
  try {
164
164
  const binding = require('@gorules/zen-engine-win32-arm64-msvc')
165
165
  const bindingPackageVersion = require('@gorules/zen-engine-win32-arm64-msvc/package.json').version
166
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
167
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
166
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
167
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
168
168
  }
169
169
  return binding
170
170
  } catch (e) {
@@ -182,8 +182,8 @@ function requireNative() {
182
182
  try {
183
183
  const binding = require('@gorules/zen-engine-darwin-universal')
184
184
  const bindingPackageVersion = require('@gorules/zen-engine-darwin-universal/package.json').version
185
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
186
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
185
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
186
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
187
187
  }
188
188
  return binding
189
189
  } catch (e) {
@@ -198,8 +198,8 @@ function requireNative() {
198
198
  try {
199
199
  const binding = require('@gorules/zen-engine-darwin-x64')
200
200
  const bindingPackageVersion = require('@gorules/zen-engine-darwin-x64/package.json').version
201
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
202
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
201
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
202
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
203
203
  }
204
204
  return binding
205
205
  } catch (e) {
@@ -214,8 +214,8 @@ function requireNative() {
214
214
  try {
215
215
  const binding = require('@gorules/zen-engine-darwin-arm64')
216
216
  const bindingPackageVersion = require('@gorules/zen-engine-darwin-arm64/package.json').version
217
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
218
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
217
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
218
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
219
219
  }
220
220
  return binding
221
221
  } catch (e) {
@@ -234,8 +234,8 @@ function requireNative() {
234
234
  try {
235
235
  const binding = require('@gorules/zen-engine-freebsd-x64')
236
236
  const bindingPackageVersion = require('@gorules/zen-engine-freebsd-x64/package.json').version
237
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
238
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
237
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
238
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
239
239
  }
240
240
  return binding
241
241
  } catch (e) {
@@ -250,8 +250,8 @@ function requireNative() {
250
250
  try {
251
251
  const binding = require('@gorules/zen-engine-freebsd-arm64')
252
252
  const bindingPackageVersion = require('@gorules/zen-engine-freebsd-arm64/package.json').version
253
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
254
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
253
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
254
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
255
255
  }
256
256
  return binding
257
257
  } catch (e) {
@@ -271,8 +271,8 @@ function requireNative() {
271
271
  try {
272
272
  const binding = require('@gorules/zen-engine-linux-x64-musl')
273
273
  const bindingPackageVersion = require('@gorules/zen-engine-linux-x64-musl/package.json').version
274
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
275
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
274
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
275
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
276
276
  }
277
277
  return binding
278
278
  } catch (e) {
@@ -287,8 +287,8 @@ function requireNative() {
287
287
  try {
288
288
  const binding = require('@gorules/zen-engine-linux-x64-gnu')
289
289
  const bindingPackageVersion = require('@gorules/zen-engine-linux-x64-gnu/package.json').version
290
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
291
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
290
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
291
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
292
292
  }
293
293
  return binding
294
294
  } catch (e) {
@@ -305,8 +305,8 @@ function requireNative() {
305
305
  try {
306
306
  const binding = require('@gorules/zen-engine-linux-arm64-musl')
307
307
  const bindingPackageVersion = require('@gorules/zen-engine-linux-arm64-musl/package.json').version
308
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
309
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
308
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
309
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
310
310
  }
311
311
  return binding
312
312
  } catch (e) {
@@ -321,8 +321,8 @@ function requireNative() {
321
321
  try {
322
322
  const binding = require('@gorules/zen-engine-linux-arm64-gnu')
323
323
  const bindingPackageVersion = require('@gorules/zen-engine-linux-arm64-gnu/package.json').version
324
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
325
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
324
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
325
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
326
326
  }
327
327
  return binding
328
328
  } catch (e) {
@@ -339,8 +339,8 @@ function requireNative() {
339
339
  try {
340
340
  const binding = require('@gorules/zen-engine-linux-arm-musleabihf')
341
341
  const bindingPackageVersion = require('@gorules/zen-engine-linux-arm-musleabihf/package.json').version
342
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
343
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
342
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
343
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
344
344
  }
345
345
  return binding
346
346
  } catch (e) {
@@ -355,8 +355,8 @@ function requireNative() {
355
355
  try {
356
356
  const binding = require('@gorules/zen-engine-linux-arm-gnueabihf')
357
357
  const bindingPackageVersion = require('@gorules/zen-engine-linux-arm-gnueabihf/package.json').version
358
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
359
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
358
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
359
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
360
360
  }
361
361
  return binding
362
362
  } catch (e) {
@@ -373,8 +373,8 @@ function requireNative() {
373
373
  try {
374
374
  const binding = require('@gorules/zen-engine-linux-loong64-musl')
375
375
  const bindingPackageVersion = require('@gorules/zen-engine-linux-loong64-musl/package.json').version
376
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
377
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
376
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
377
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
378
378
  }
379
379
  return binding
380
380
  } catch (e) {
@@ -389,8 +389,8 @@ function requireNative() {
389
389
  try {
390
390
  const binding = require('@gorules/zen-engine-linux-loong64-gnu')
391
391
  const bindingPackageVersion = require('@gorules/zen-engine-linux-loong64-gnu/package.json').version
392
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
393
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
392
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
393
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
394
394
  }
395
395
  return binding
396
396
  } catch (e) {
@@ -407,8 +407,8 @@ function requireNative() {
407
407
  try {
408
408
  const binding = require('@gorules/zen-engine-linux-riscv64-musl')
409
409
  const bindingPackageVersion = require('@gorules/zen-engine-linux-riscv64-musl/package.json').version
410
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
411
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
410
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
411
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
412
412
  }
413
413
  return binding
414
414
  } catch (e) {
@@ -423,8 +423,8 @@ function requireNative() {
423
423
  try {
424
424
  const binding = require('@gorules/zen-engine-linux-riscv64-gnu')
425
425
  const bindingPackageVersion = require('@gorules/zen-engine-linux-riscv64-gnu/package.json').version
426
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
427
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
426
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
427
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
428
428
  }
429
429
  return binding
430
430
  } catch (e) {
@@ -440,8 +440,8 @@ function requireNative() {
440
440
  try {
441
441
  const binding = require('@gorules/zen-engine-linux-ppc64-gnu')
442
442
  const bindingPackageVersion = require('@gorules/zen-engine-linux-ppc64-gnu/package.json').version
443
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
444
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
443
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
444
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
445
445
  }
446
446
  return binding
447
447
  } catch (e) {
@@ -456,8 +456,8 @@ function requireNative() {
456
456
  try {
457
457
  const binding = require('@gorules/zen-engine-linux-s390x-gnu')
458
458
  const bindingPackageVersion = require('@gorules/zen-engine-linux-s390x-gnu/package.json').version
459
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
460
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
459
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
460
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
461
461
  }
462
462
  return binding
463
463
  } catch (e) {
@@ -476,8 +476,8 @@ function requireNative() {
476
476
  try {
477
477
  const binding = require('@gorules/zen-engine-openharmony-arm64')
478
478
  const bindingPackageVersion = require('@gorules/zen-engine-openharmony-arm64/package.json').version
479
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
480
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
479
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
480
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
481
481
  }
482
482
  return binding
483
483
  } catch (e) {
@@ -492,8 +492,8 @@ function requireNative() {
492
492
  try {
493
493
  const binding = require('@gorules/zen-engine-openharmony-x64')
494
494
  const bindingPackageVersion = require('@gorules/zen-engine-openharmony-x64/package.json').version
495
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
496
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
495
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
496
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
497
497
  }
498
498
  return binding
499
499
  } catch (e) {
@@ -508,8 +508,8 @@ function requireNative() {
508
508
  try {
509
509
  const binding = require('@gorules/zen-engine-openharmony-arm')
510
510
  const bindingPackageVersion = require('@gorules/zen-engine-openharmony-arm/package.json').version
511
- if (bindingPackageVersion !== '0.50.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
512
- throw new Error(`Native binding package version mismatch, expected 0.50.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
511
+ if (bindingPackageVersion !== '0.54.121' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
512
+ throw new Error(`Native binding package version mismatch, expected 0.54.121 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
513
513
  }
514
514
  return binding
515
515
  } catch (e) {
@@ -572,6 +572,7 @@ if (!nativeBinding) {
572
572
  }
573
573
 
574
574
  module.exports = nativeBinding
575
+ module.exports.PolicyWorkspace = nativeBinding.PolicyWorkspace
575
576
  module.exports.ZenDecision = nativeBinding.ZenDecision
576
577
  module.exports.ZenDecisionContent = nativeBinding.ZenDecisionContent
577
578
  module.exports.ZenEngine = nativeBinding.ZenEngine
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gorules/zen-engine",
3
- "version": "0.54.0",
3
+ "version": "0.55.0-beta.1",
4
4
  "main": "index.js",
5
5
  "browser": "browser.js",
6
6
  "types": "./index.d.ts",
@@ -25,6 +25,7 @@
25
25
  "aarch64-apple-darwin",
26
26
  "wasm32-wasi-preview1-threads"
27
27
  ],
28
+ "dtsHeaderFile": "./dts-header.d.ts",
28
29
  "npmClient": "yarn",
29
30
  "wasm": {
30
31
  "browser": {
@@ -96,15 +97,14 @@
96
97
  "resolutions": {
97
98
  "form-data@^4.0.0": "4.0.4"
98
99
  },
99
- "gitHead": "9851f646f604c79cd8765aac9db8efa43be4716d",
100
100
  "optionalDependencies": {
101
- "@gorules/zen-engine-darwin-x64": "0.54.0",
102
- "@gorules/zen-engine-linux-x64-gnu": "0.54.0",
103
- "@gorules/zen-engine-linux-x64-musl": "0.54.0",
104
- "@gorules/zen-engine-win32-x64-msvc": "0.54.0",
105
- "@gorules/zen-engine-linux-arm64-gnu": "0.54.0",
106
- "@gorules/zen-engine-linux-arm64-musl": "0.54.0",
107
- "@gorules/zen-engine-darwin-arm64": "0.54.0",
108
- "@gorules/zen-engine-wasm32-wasi": "0.54.0"
101
+ "@gorules/zen-engine-darwin-x64": "0.55.0-beta.1",
102
+ "@gorules/zen-engine-linux-x64-gnu": "0.55.0-beta.1",
103
+ "@gorules/zen-engine-linux-x64-musl": "0.55.0-beta.1",
104
+ "@gorules/zen-engine-win32-x64-msvc": "0.55.0-beta.1",
105
+ "@gorules/zen-engine-linux-arm64-gnu": "0.55.0-beta.1",
106
+ "@gorules/zen-engine-linux-arm64-musl": "0.55.0-beta.1",
107
+ "@gorules/zen-engine-darwin-arm64": "0.55.0-beta.1",
108
+ "@gorules/zen-engine-wasm32-wasi": "0.55.0-beta.1"
109
109
  }
110
110
  }