@exellix/graph-engine 7.2.10 → 7.2.14

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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.2.14
4
+
5
+ ### Fixed
6
+
7
+ - **`test:live` / Node ESM:** Load `@x12i/logxer` via dynamic import in `graphEngineLogxer` (avoids CJS `trails` → `require('nanoid')` `ERR_REQUIRE_ESM` on Node 22). Inline run-log diagnostic normalization in `buildRunLog` (no static logxer import).
8
+ - **Live script:** Remove redundant direct `@x12i/logxer` import; use `GRAPH_ENGINE_LOGS_LEVEL` / `LOGXER_PACKAGE_LEVELS` env instead.
9
+
10
+ ## 7.2.13
11
+
12
+ ### Added
13
+
14
+ - **Logxer 4.5 stack pass-through:** `logging?: StackLoggingOptions` on `createExellixGraphRuntime` / per-invocation run options; `createGraphEngineLogxer({ logging })` factory; per-run logger binding for `getJobLogs` correlation.
15
+ - **Exports:** `createGraphEngineLogxer`, `bindGraphEngineRunLogxer`, `clearGraphEngineRunLogxer`, `GraphEngineStackLoggingOptions`.
16
+
17
+ ### Changed
18
+
19
+ - **`@x12i/logxer`:** Direct dependency `^4.5.0` (stack log levels, diagnostics, `getJobLogs` query API).
20
+ - **Live script:** `run-pre-synthesis-graph.mjs` calls `applyPackageLogLevelsFromEnv()` at startup.
21
+
3
22
  ## 7.2.4
4
23
 
5
24
  ### Added
@@ -23,6 +23,8 @@ export type { NodeExecutionResult, NodeTraceEntry, StepAttemptRecord, StepFailur
23
23
  export type { RunLogEntry, RunLogLevel, RunLogScope, RunLogMode, RunLogBuildOptions, RunLogBuildResult, } from './types/runLog.js';
24
24
  export { AI_TASKS_RUN_LOG_METADATA_KEY, AI_TASKS_LOGXER_RUN_ID_METADATA_KEY, DEFAULT_MAX_RUN_LOG_ENTRIES, DEFAULT_MAX_RUN_LOG_DATA_JSON_CHARS, } from './types/runLog.js';
25
25
  export { buildRunLog, resolveRunLogLimits, truncateRunLogData, parseRunLogEntryTs, normalizeExternalRunLogEntries, extractTaskRunLogFromMetadata, extractLogxerCorrelationFromMetadata, } from './runtime/buildRunLog.js';
26
+ export { GRAPH_ENGINE_LOGXER_ENV_PREFIX, createGraphEngineLogxer, getGraphEngineLogxer, createGraphEngineLogxerClient, ensureGraphEngineLogxerOnRuntimeObjects, bindGraphEngineRunLogxer, clearGraphEngineRunLogxer, runGraphWithLogContext, patchGraphNodeLogContext, traceExecutionMemory, logGraphEngineErrorCode, DebugLogAbstract as GraphEngineDebugLogAbstract, fieldEvidence as graphEngineFieldEvidence, exceptionEvidence as graphEngineExceptionEvidence, } from './runtime/graphEngineLogxer.js';
27
+ export type { GetJobLogsInput as GraphEngineGetJobLogsInput, GetJobLogsResult as GraphEngineGetJobLogsResult, LogRuntimeContext as GraphEngineLogRuntimeContext, StackLoggingOptions as GraphEngineStackLoggingOptions, } from './runtime/graphEngineLogxer.js';
26
28
  export type { GraphExecutionEvent, NodeExecutionEvent, } from './types/events.js';
27
29
  export { ExellixGraphError } from './errors/ExellixGraphError.js';
28
30
  export { ExellixGraphErrorCode } from './errors/exellixGraphErrorCodes.js';
@@ -76,6 +78,7 @@ export { validateRunTaskConfig, validateRunTaskInvoke, analyzeExpectedRunTaskInp
76
78
  export type { RunTaskValidationIssue, RunTaskValidationResult, RunTaskInvokeValidationResult, ExpectedRunTaskInputPath, AnalyzeExpectedRunTaskInputResult, ValidateRunTaskInvokeParams, RunTaskTemplateResolver, AnalyzeRunTaskRequestOptions, AnalyzeRunTaskRequestResult, AnalyzeSkillRequestOptions, AnalyzeSkillRequestResult, SkillRequestAnalysisReport, OutputValidationResult, } from '@exellix/ai-tasks';
77
79
  export { buildExellixGraphRuntimeObjects, setRuntimeObjectsLastJobId, summarizeRuntimeObjectsForPlayground, EXELLIX_GRAPH_RUNTIME_PACKAGE_NAME, EXELLIX_AI_TASKS_PACKAGE_NAME, } from './runtime/runtimeObjects.js';
78
80
  export type { ActivixQueryableClient, LogxerQueryableClient, LogxerLogLine, PackageRuntimeObjects, RuntimeObjects, BuildExellixGraphRuntimeObjectsInput, RuntimeObjectsObservabilitySummary, } from './runtime/runtimeObjects.js';
81
+ export type { GetJobLogsInput, GetJobLogsResult, QueryableLogLine } from '@x12i/logxer';
79
82
  export { assertCanonicalGraphDocument, getCanonicalGraphDocumentViolations, CANONICAL_GRAPH_TOP_LEVEL_KEYS, } from './runtime/validateCanonicalGraphDocument.js';
80
83
  export { computeGraphDocumentContentSha256, stableStringifyGraphDocument, } from './runtime/graphDocumentFingerprint.js';
81
84
  export { migrateLegacyGraphResponse, migrateLegacyGraphResponseDefinition, } from './runtime/graphResponseMigration.js';
package/dist/src/index.js CHANGED
@@ -16,6 +16,7 @@ export { mergeGraphDocumentModel, EXELLIX_GRAPH_MODEL_VARIABLE_KEY, EXELLIX_STRU
16
16
  export { getTaskConfiguration } from './types/taskNodeConfiguration.js';
17
17
  export { AI_TASKS_RUN_LOG_METADATA_KEY, AI_TASKS_LOGXER_RUN_ID_METADATA_KEY, DEFAULT_MAX_RUN_LOG_ENTRIES, DEFAULT_MAX_RUN_LOG_DATA_JSON_CHARS, } from './types/runLog.js';
18
18
  export { buildRunLog, resolveRunLogLimits, truncateRunLogData, parseRunLogEntryTs, normalizeExternalRunLogEntries, extractTaskRunLogFromMetadata, extractLogxerCorrelationFromMetadata, } from './runtime/buildRunLog.js';
19
+ export { GRAPH_ENGINE_LOGXER_ENV_PREFIX, createGraphEngineLogxer, getGraphEngineLogxer, createGraphEngineLogxerClient, ensureGraphEngineLogxerOnRuntimeObjects, bindGraphEngineRunLogxer, clearGraphEngineRunLogxer, runGraphWithLogContext, patchGraphNodeLogContext, traceExecutionMemory, logGraphEngineErrorCode, DebugLogAbstract as GraphEngineDebugLogAbstract, fieldEvidence as graphEngineFieldEvidence, exceptionEvidence as graphEngineExceptionEvidence, } from './runtime/graphEngineLogxer.js';
19
20
  // Errors
20
21
  export { ExellixGraphError } from './errors/ExellixGraphError.js';
21
22
  export { ExellixGraphErrorCode } from './errors/exellixGraphErrorCodes.js';