mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 13:39:44 +02:00
Map the agents.scope column on the Agent entity. An instance agent is code-defined and belongs to no project. AgentRepository.ensureInstanceAgent creates its row with an insert that ignores a concurrent duplicate. Type Agent.projectId as string | null. Project-scoped repository queries and writes filter on scope = 'project'. The queries return ProjectAgent, which has a non-null projectId. The project-agent APIs do not see instance agents and report them as not found. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| integration | ||
| migration | ||
| shared | ||
| unit | ||
| extend-expect.ts | ||
| global-setup.ts | ||
| setup-encryption-key.ts | ||
| setup-migration-database.ts | ||
| setup-mocks.ts | ||
| setup-sqlite-template.ts | ||
| setup-test-folder.ts | ||
| setup-testcontainers.ts | ||