@alpic80/rivet-core 1.24.2-aidon.10 → 1.24.2-aidon.11

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.
@@ -513,7 +513,7 @@ export class GraphProcessor {
513
513
  if (this.#running) {
514
514
  throw new Error('Cannot process graph while already processing');
515
515
  }
516
- console.info(`Process graph called. Context:${context}, Inputs: ${JSON.stringify(inputs)}, Context Values: ${JSON.stringify(contextValues)}`);
516
+ this.#emitTraceEvent(`Process graph called. Context:${JSON.stringify(context)}, Inputs: ${JSON.stringify(inputs)}, Context Values: ${JSON.stringify(contextValues)}`);
517
517
  this.#initProcessState();
518
518
  this.#context = context;
519
519
  this.#graphInputs = inputs;
@@ -524,11 +524,11 @@ export class GraphProcessor {
524
524
  this.#emitter.emit('error', { error });
525
525
  });
526
526
  }
527
- console.info(`Process graph calling loadProjectReferences`);
527
+ this.#emitTraceEvent(`Process graph calling loadProjectReferences`);
528
528
  await this.#loadProjectReferences();
529
- console.info(`Process graph called loadProjectReferences`);
529
+ this.#emitTraceEvent(`Process graph called loadProjectReferences`);
530
530
  this.#preprocessGraph();
531
- console.info(`Process graph called preprocessGraph`);
531
+ this.#emitTraceEvent(`Process graph called preprocessGraph`);
532
532
  if (!this.#isSubProcessor) {
533
533
  await this.#emitter.emit('start', {
534
534
  contextValues: this.#contextValues,
@@ -159,7 +159,7 @@ export class SubGraphNodeImpl extends NodeImpl {
159
159
  return outputs;
160
160
  }
161
161
  catch (err) {
162
- console.error(`Error Processing subgraph: ${getError(err).message}`);
162
+ context.trace(`Error Processing subgraph: ${getError(err).message}`);
163
163
  if (!this.data.useErrorOutput) {
164
164
  throw err;
165
165
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@alpic80/rivet-core",
3
3
  "license": "MIT",
4
4
  "repository": "https://github.com/castortech/rivet",
5
- "version": "1.24.2-aidon.10",
5
+ "version": "1.24.2-aidon.11",
6
6
  "packageManager": "yarn@3.5.0",
7
7
  "main": "dist/cjs/bundle.cjs",
8
8
  "module": "dist/esm/index.js",
@@ -48,7 +48,7 @@
48
48
  "@google-cloud/vertexai": "^0.1.3",
49
49
  "@google/genai": "^0.12.0",
50
50
  "@huggingface/inference": "^4.13.0",
51
- "@ironclad/rivet-core": "npm:@alpic80/rivet-core@1.24.2-aidon.10",
51
+ "@ironclad/rivet-core": "npm:@alpic80/rivet-core@1.24.2-aidon.11",
52
52
  "assemblyai": "^4.6.0",
53
53
  "autoevals": "^0.0.26",
54
54
  "cron-parser": "^4.9.0",