@valerypopoff/rivet2-core 2.28.0 → 2.31.0
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/cjs/bundle.cjs +310 -26
- package/dist/cjs/bundle.cjs.map +4 -4
- package/dist/cjs/interpolationRuntime.cjs +1 -1
- package/dist/cjs/interpolationRuntime.cjs.map +2 -2
- package/dist/esm/exports.js +1 -0
- package/dist/esm/model/ExecutorSessionProtocol.js +233 -0
- package/dist/esm/model/classifier/providers.js +10 -5
- package/dist/esm/model/classifier/subq.js +5 -2
- package/dist/esm/model/nodes/AssemblePromptNode.js +18 -8
- package/dist/esm/utils/coerceType.js +1 -1
- package/dist/esm/utils/projectComparison/graphs.js +2 -2
- package/dist/esm/utils/projectComparison/identity.js +30 -0
- package/dist/esm/utils/projectComparison/nodes.js +10 -3
- package/dist/esm/utils/projectComparison.js +24 -6
- package/dist/types/exports.d.ts +1 -0
- package/dist/types/model/ExecutorProtocol.d.ts +3 -0
- package/dist/types/model/ExecutorSessionProtocol.d.ts +56 -0
- package/dist/types/model/classifier/providers.d.ts +1 -1
- package/dist/types/model/classifier/subq.d.ts +10 -2
- package/dist/types/model/nodes/AssemblePromptNode.d.ts +1 -1
- package/dist/types/utils/projectComparison/graphs.d.ts +2 -1
- package/dist/types/utils/projectComparison/identity.d.ts +11 -0
- package/dist/types/utils/projectComparison/nodes.d.ts +2 -1
- package/dist/types/utils/projectComparison.d.ts +4 -1
- package/package.json +1 -1
|
@@ -2,10 +2,13 @@ import type { ChartNode, NodeConnection, NodeId } from '../model/NodeBase.js';
|
|
|
2
2
|
import type { GraphId, NodeGraph } from '../model/NodeGraph.js';
|
|
3
3
|
import type { NodePrefab, NodePrefabId, Project } from '../model/Project.js';
|
|
4
4
|
import type { UiGraph, UiGraphId } from '../model/UiGraph.js';
|
|
5
|
+
import { type ProjectComparisonIdentity } from './projectComparison/identity.js';
|
|
6
|
+
export type { ProjectComparisonIdentity } from './projectComparison/identity.js';
|
|
5
7
|
export { getProjectConnectionComparisonKey } from './projectComparison/connections.js';
|
|
6
8
|
export { getProjectNodeFieldComparisons } from './projectComparison/nodes.js';
|
|
7
9
|
export type ProjectComparisonChangeKind = 'added' | 'removed' | 'changed' | 'unchanged';
|
|
8
10
|
export type ProjectNodeComparison = {
|
|
11
|
+
identity?: ProjectComparisonIdentity;
|
|
9
12
|
id: NodeId;
|
|
10
13
|
kind: ProjectComparisonChangeKind;
|
|
11
14
|
before?: ChartNode;
|
|
@@ -74,4 +77,4 @@ export type ProjectComparison = {
|
|
|
74
77
|
uiGraphs?: Record<UiGraphId, ProjectUiGraphComparison>;
|
|
75
78
|
summary: ProjectComparisonSummary;
|
|
76
79
|
};
|
|
77
|
-
export declare function compareProjects(before: Project, after: Project): ProjectComparison;
|
|
80
|
+
export declare function compareProjects(before: Project, after: Project, identity?: ProjectComparisonIdentity): ProjectComparison;
|