@codemation/core-nodes-ocr 0.2.1 → 0.2.2

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.
@@ -215,6 +215,12 @@ interface CodemationApplicationRuntimeConfig {
215
215
  }
216
216
  interface CodemationConfig {
217
217
  readonly app?: CodemationAppDefinition;
218
+ /**
219
+ * Reserved compatibility-date field. Declares the Codemation framework version this workspace
220
+ * targets. Logged at INFO level on boot. No enforcement in 1.0.0.
221
+ * See backlog/codemation-version-compatibility-gate.md.
222
+ */
223
+ readonly codemationVersion?: string;
218
224
  readonly register?: (context: CodemationAppContext) => void;
219
225
  readonly runtime?: CodemationApplicationRuntimeConfig;
220
226
  readonly workflows?: ReadonlyArray<WorkflowDefinition>;
@@ -155,6 +155,12 @@ interface CodemationApplicationRuntimeConfig {
155
155
  }
156
156
  interface CodemationConfig {
157
157
  readonly app?: CodemationAppDefinition;
158
+ /**
159
+ * Reserved compatibility-date field. Declares the Codemation framework version this workspace
160
+ * targets. Logged at INFO level on boot. No enforcement in 1.0.0.
161
+ * See backlog/codemation-version-compatibility-gate.md.
162
+ */
163
+ readonly codemationVersion?: string;
158
164
  readonly register?: (context: CodemationAppContext) => void;
159
165
  readonly runtime?: CodemationApplicationRuntimeConfig;
160
166
  readonly workflows?: ReadonlyArray<WorkflowDefinition>;
@@ -17762,7 +17762,7 @@ var CodemationAuthoringConfigFactory = class {
17762
17762
  const appDefinition = this.createAppDefinition(options);
17763
17763
  const credentialTypes = [...options.credentialTypes ?? [], ...options.credentials ?? []];
17764
17764
  const register = this.composeAppRegister(options.register, options.nodes, options.collections);
17765
- const { workflows, plugins, runtime, log, mcpServers } = options;
17765
+ const { workflows, plugins, runtime, log, mcpServers, codemationVersion } = options;
17766
17766
  return {
17767
17767
  workflows,
17768
17768
  workflowDiscovery: this.mergeWorkflowDiscovery(options.workflowDiscovery, options.workflowsDir),
@@ -17770,6 +17770,7 @@ var CodemationAuthoringConfigFactory = class {
17770
17770
  runtime,
17771
17771
  log,
17772
17772
  mcpServers,
17773
+ codemationVersion,
17773
17774
  app: appDefinition,
17774
17775
  credentialTypes,
17775
17776
  register