You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @summary Central definition of AgentIdentity and BroadcastSentinel root nodes for the Memory Core Graph.
3
+
*
4
+
* This shared list provides the definitive addressable identity surface for the A2A Mailbox
5
+
* substrate (#10139).
6
+
*
7
+
* It is used for both:
8
+
* 1. Boot-time self-seeding in `GraphService.initAsync` (#10232)
9
+
* 2. Explicit manual recovery via `ai/scripts/seedAgentIdentities.mjs`
10
+
*/
11
+
12
+
exportconstIDENTITIES=[
13
+
{
14
+
id: '@neo-opus-4-7',
15
+
type: 'AgentIdentity',
16
+
name: 'Claude Opus 4.7',
17
+
description: 'Anthropic Claude Opus version 4.7 Agent Identity',
18
+
properties: {
19
+
githubLogin: '@neo-opus-4-7',
20
+
displayName: 'Claude Opus 4.7',
21
+
modelFamily: 'claude',
22
+
accountType: 'agent',
23
+
createdAt: newDate().toISOString()
24
+
}
25
+
},
26
+
{
27
+
id: '@neo-gemini-3-1-pro',
28
+
type: 'AgentIdentity',
29
+
name: 'Gemini 3.1 Pro',
30
+
description: 'Google Gemini 3.1 Pro Agent Identity',
31
+
properties: {
32
+
githubLogin: '@neo-gemini-3-1-pro',
33
+
displayName: 'Gemini 3.1 Pro',
34
+
modelFamily: 'gemini',
35
+
accountType: 'agent',
36
+
createdAt: newDate().toISOString()
37
+
}
38
+
},
39
+
{
40
+
id: '@tobiu',
41
+
type: 'AgentIdentity',
42
+
name: 'Tobias Uhlig',
43
+
description: 'Human Owner',
44
+
properties: {
45
+
githubLogin: '@tobiu',
46
+
displayName: 'Tobias Uhlig',
47
+
modelFamily: null,
48
+
accountType: 'human',
49
+
createdAt: newDate().toISOString()
50
+
}
51
+
},
52
+
{
53
+
id: 'AGENT:*',
54
+
type: 'BroadcastSentinel',
55
+
name: 'Broadcast',
56
+
description: 'Mailbox broadcast sentinel. `SENT_TO` edges targeting this node fan out to all authenticated recipients per MailboxService.listMessages visibility rules. Must exist as a real graph node so GraphService.linkNodes FK-style guard does not cull broadcast edges — see #10174.',
Copy file name to clipboardExpand all lines: ai/scripts/seedAgentIdentities.mjs
+1-55Lines changed: 1 addition & 55 deletions
Original file line number
Diff line number
Diff line change
@@ -33,61 +33,7 @@
33
33
*/
34
34
35
35
import{Memory_GraphService}from'../services.mjs';
36
-
37
-
constIDENTITIES=[
38
-
{
39
-
id: '@neo-opus-4-7',
40
-
type: 'AgentIdentity',
41
-
name: 'Claude Opus 4.7',
42
-
description: 'Anthropic Claude Opus version 4.7 Agent Identity',
43
-
properties: {
44
-
githubLogin: '@neo-opus-4-7',
45
-
displayName: 'Claude Opus 4.7',
46
-
modelFamily: 'claude',
47
-
accountType: 'agent',
48
-
createdAt: newDate().toISOString()
49
-
}
50
-
},
51
-
{
52
-
id: '@neo-gemini-3-1-pro',
53
-
type: 'AgentIdentity',
54
-
name: 'Gemini 3.1 Pro',
55
-
description: 'Google Gemini 3.1 Pro Agent Identity',
56
-
properties: {
57
-
githubLogin: '@neo-gemini-3-1-pro',
58
-
displayName: 'Gemini 3.1 Pro',
59
-
modelFamily: 'gemini',
60
-
accountType: 'agent',
61
-
createdAt: newDate().toISOString()
62
-
}
63
-
},
64
-
{
65
-
id: '@tobiu',
66
-
type: 'AgentIdentity',
67
-
name: 'Tobias Uhlig',
68
-
description: 'Human Owner',
69
-
properties: {
70
-
githubLogin: '@tobiu',
71
-
displayName: 'Tobias Uhlig',
72
-
modelFamily: null,
73
-
accountType: 'human',
74
-
createdAt: newDate().toISOString()
75
-
}
76
-
},
77
-
{
78
-
id: 'AGENT:*',
79
-
type: 'BroadcastSentinel',
80
-
name: 'Broadcast',
81
-
description: 'Mailbox broadcast sentinel. `SENT_TO` edges targeting this node fan out to all authenticated recipients per MailboxService.listMessages visibility rules. Must exist as a real graph node so GraphService.linkNodes FK-style guard does not cull broadcast edges — see #10174.',
0 commit comments