Skip to content

Commit 3a51d7b

Browse files
ci: apply automated fixes
1 parent 3288d6a commit 3a51d7b

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

packages/typescript/ai-orchestration/src/engine/fingerprint.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ export function fingerprintWorkflow(workflow: AnyWorkflowDefinition): string {
3939
// JSON.stringify gives an unambiguous serialization — joining with a
4040
// comma would collide between `['a,b']` and `['a', 'b']`.
4141
const sorted = [...workflow.patches].sort()
42-
return fnv1a64(
43-
`patch-versioned:${workflow.name}:${JSON.stringify(sorted)}`,
44-
)
42+
return fnv1a64(`patch-versioned:${workflow.name}:${JSON.stringify(sorted)}`)
4543
}
4644

4745
const seen = new WeakSet<AnyWorkflowDefinition>()

packages/typescript/ai-orchestration/src/engine/state-diff.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,11 @@ function diff(prev: unknown, next: unknown, path: string): Array<Operation> {
6666
if (prevHas && nextHas) {
6767
ops.push(...diff(prevObj[key], nextObj[key], subPath))
6868
} else if (nextHas) {
69-
ops.push({ op: 'add', path: subPath, value: normalizeValue(nextObj[key]) })
69+
ops.push({
70+
op: 'add',
71+
path: subPath,
72+
value: normalizeValue(nextObj[key]),
73+
})
7074
} else {
7175
ops.push({ op: 'remove', path: subPath })
7276
}

0 commit comments

Comments
 (0)