Skip to content

Commit 3b7c0fd

Browse files
committed
lint fix
1 parent 556b819 commit 3b7c0fd

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

packages/core/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export * from './shared/metadataUtils.js';
66
export * from './shared/protocol.js';
77
export * from './shared/responseMessage.js';
88
export * from './shared/stdio.js';
9-
export { TaskManager } from './shared/taskManager.js';
109
export type { RequestTaskStore, TaskContext, TaskManagerOptions, TaskRequestOptions } from './shared/taskManager.js';
10+
export { TaskManager } from './shared/taskManager.js';
1111
export * from './shared/toolNameValidation.js';
1212
export * from './shared/transport.js';
1313
export * from './shared/uriTemplate.js';

packages/core/src/shared/taskManager.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -699,9 +699,7 @@ export class TaskManager implements ProtocolModule {
699699
hasTaskCreationParams,
700700
// Deferred validation: runs inside the async handler chain so errors
701701
// produce proper JSON-RPC error responses (matching main's behavior).
702-
validateInbound: hasTaskCreationParams
703-
? () => this._options.assertTaskHandlerCapability?.(request.method)
704-
: undefined
702+
validateInbound: hasTaskCreationParams ? () => this._options.assertTaskHandlerCapability?.(request.method) : undefined
705703
};
706704
}
707705

0 commit comments

Comments
 (0)