diff --git a/package-lock.json b/package-lock.json index 897a4779..c0faa0b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1928,9 +1928,9 @@ } }, "node_modules/@eslint/plugin-kit": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.1.tgz", - "integrity": "sha512-rZAP3aVgB9ds9KOeUSL+zZ21hPmo8dh6fnIFwRQj5EAZl9gzR7wxYbYXYysAM8CTqGmUGyp2S4kUdV17MnGuWQ==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz", + "integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -3955,18 +3955,21 @@ } }, "node_modules/eslint": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.4.0.tgz", - "integrity": "sha512-loXy6bWOoP3EP6JA7jo6p5jMpBJmHmsNZM5SFRHLdh1MGOPurMnNBj4ZlAbaqUAaQWbCr7jHV4P7gzAyryZWkQ==", + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.6.0.tgz", + "integrity": "sha512-6lVbcqSodALYo+4ELD0heG6lFiFxnLMuLkiMi2qV8LMp54N8tE8FT1GMH+ev4Ti00nFjNze2+Su6DsV5OQW3Dg==", "dev": true, "license": "MIT", + "workspaces": [ + "packages/*" + ], "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.2", "@eslint/config-array": "^0.23.5", "@eslint/config-helpers": "^0.6.0", "@eslint/core": "^1.2.1", - "@eslint/plugin-kit": "^0.7.1", + "@eslint/plugin-kit": "^0.7.2", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", @@ -6041,9 +6044,9 @@ } }, "node_modules/prettier": { - "version": "3.8.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.3.tgz", - "integrity": "sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==", + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.1.tgz", + "integrity": "sha512-ppiDo2CSwexck1eyZUwJHg/N3nf1+6IRCv7W/VJ5vaLnVCmB7+3CdRfMwoCHBBX6xTrREDTksZ4OZl5SSf4zXA==", "dev": true, "license": "MIT", "bin": { diff --git a/src/__tests__/integration/bash.integration.test.ts b/src/__tests__/integration/bash.integration.test.ts index 1c31e6be..07d73053 100644 --- a/src/__tests__/integration/bash.integration.test.ts +++ b/src/__tests__/integration/bash.integration.test.ts @@ -27,8 +27,7 @@ describe('Bash API Integration Tests', () => { async () => { const page = await bash.searchEvents({ command_id__eq: command.id, limit: 20 }); outputEvent = page.items.find((event) => event.kind === 'BashOutput') as - | BashOutput - | undefined; + BashOutput | undefined; return Boolean(outputEvent?.exit_code !== undefined); }, { timeout: config.testTimeout, interval: 250, message: 'bash output was not produced' } diff --git a/src/events/types.ts b/src/events/types.ts index 1e82ee09..3197b9f3 100644 --- a/src/events/types.ts +++ b/src/events/types.ts @@ -285,12 +285,7 @@ export interface LLMCompletionLogEvent extends BaseEvent { * Hook execution event type - matches Python SDK's HookEventType literal. */ export type HookExecutionEventType = - | 'PreToolUse' - | 'PostToolUse' - | 'UserPromptSubmit' - | 'SessionStart' - | 'SessionEnd' - | 'Stop'; + 'PreToolUse' | 'PostToolUse' | 'UserPromptSubmit' | 'SessionStart' | 'SessionEnd' | 'Stop'; /** * Hook execution event - emitted when a hook is executed.