MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / actor

Function actor

graph-ui/src/galaxy/agent-layer.test.ts:27–60  ·  view source on GitHub ↗
(id: string, kind: WorkKind, nodeId: number)

Source from the content-addressed store, hash-verified

25});
26
27const actor = (id: string, kind: WorkKind, nodeId: number): ActorView => ({
28 id,
29 name: id,
30 you: false,
31 color: '#ffffff',
32 letter: id.slice(0, 1).toUpperCase(),
33 kind,
34 kindLetter: 'X',
35 placement: {
36 kind: 'file', nodeId, name: 'n', qualifiedName: 'n', uncertain: false, why: '', ghostIds: [],
37 },
38 node: node(nodeId),
39 testedNode: undefined,
40 ghostNodes: [],
41 last: {
42 ts: 0, agent: id, run: 'r', seq: 1, phase: 'end', tool: 'Read', path: '',
43 detail: '', source: '', replay: false,
44 },
45 lastTs: 0,
46 hereMs: 0,
47 count: 1,
48 missed: 0,
49 strip: [],
50 stripTotal: 0,
51 intent: '',
52 paths: [],
53 sinceMs: 0,
54 idle: false,
55 recentEvents: 1,
56 pulse: pulseOf(1),
57 trail: [],
58 waves: [],
59 drawn: true,
60});
61
62describe('die vier Bahnen', () => {
63 it('macht das Lesen weit und ruhig und das Schreiben eng und schnell', () => {

Callers 1

Calls 2

pulseOfFunction · 0.90
nodeFunction · 0.70

Tested by

no test coverage detected