MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / makeSubagentTask

Function makeSubagentTask

apps/kimi-web/test/event-reducer.test.ts:40–49  ·  view source on GitHub ↗
(id: string, sessionId: string)

Source from the content-addressed store, hash-verified

38}
39
40function makeSubagentTask(id: string, sessionId: string): AppTask {
41 return {
42 id,
43 sessionId,
44 kind: 'subagent',
45 description: 'subagent task',
46 status: 'running',
47 createdAt: '2026-01-01T00:00:00.000Z',
48 };
49}
50
51describe('reduceAppEvent messageCreated', () => {
52 it('bumps the session updatedAt so it floats to the top of the sidebar', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected