mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-12 16:10:30 +02:00
fix(instance-ai): resolve lint errors in template telemetry and pairwise compare
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
80396fd5d4
commit
a18513dc85
|
|
@ -686,8 +686,10 @@ function summarizeToolCallArgs(toolName: string, args: unknown): string {
|
|||
}
|
||||
case 'mastra_workspace_grep':
|
||||
return trunc(`${str(a.pattern)}${a.path ? ` in ${str(a.path)}` : ''}`);
|
||||
case 'mastra_workspace_lsp_inspect':
|
||||
return trunc(`${str(a.path)}:${a.line ?? '?'} ${str(a.match)}`);
|
||||
case 'mastra_workspace_lsp_inspect': {
|
||||
const line = typeof a.line === 'number' ? String(a.line) : '?';
|
||||
return trunc(`${str(a.path)}:${line} ${str(a.match)}`);
|
||||
}
|
||||
case 'mastra_workspace_mkdir':
|
||||
return trunc(str(a.path));
|
||||
case 'submit-workflow':
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import type { InstanceAiEvent } from '@n8n/api-types';
|
||||
import type { Agent } from '@mastra/core/agent';
|
||||
import type { InstanceAiEvent } from '@n8n/api-types';
|
||||
|
||||
import type { InstanceAiEventBus } from '../event-bus/event-bus.interface';
|
||||
import type { Logger } from '../logger';
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
* (a per-Workspace WeakMap binding). `runInSandbox` looks the session up and
|
||||
* calls `observe()` after each command — no caller-side threading required.
|
||||
*/
|
||||
import type { InstanceAiEvent } from '@n8n/api-types';
|
||||
import type { Workspace } from '@mastra/core/workspace';
|
||||
import type { InstanceAiEvent } from '@n8n/api-types';
|
||||
|
||||
import type { OrchestrationContext } from '../types';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user