MCPcopy
hub / github.com/7836246/cursor2api / intercepted

Method intercepted

src/logger.ts:1136–1143  ·  view source on GitHub ↗
(reason: string)

Source from the content-addressed store, hash-verified

1134 }
1135
1136 intercepted(reason: string): void {
1137 this.summary.status = 'intercepted';
1138 this.summary.endTime = Date.now();
1139 this.log('info', 'System', 'intercept', reason);
1140 logEmitter.emit('summary', this.summary);
1141 persistRequest(this.summary, this.payload);
1142 console.log(`\x1b[35m⊘\x1b[0m [${this.requestId}] 拦截: ${reason}`);
1143 }
1144
1145 fail(error: string): void {
1146 this.endPhase();

Callers 3

handleOpenAIResponsesFunction · 0.80
handleMessagesFunction · 0.80

Calls 2

logMethod · 0.95
persistRequestFunction · 0.85

Tested by

no test coverage detected