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

Function makeSummary

packages/node-sdk/test/export-session.test.ts:84–98  ·  view source on GitHub ↗
(input: {
  readonly id: string;
  readonly sessionDir: string;
  readonly workDir: string;
  readonly title?: string | undefined;
})

Source from the content-addressed store, hash-verified

82}
83
84function makeSummary(input: {
85 readonly id: string;
86 readonly sessionDir: string;
87 readonly workDir: string;
88 readonly title?: string | undefined;
89}): SessionSummary {
90 return {
91 id: input.id,
92 sessionDir: input.sessionDir,
93 workDir: input.workDir,
94 createdAt: 1,
95 updatedAt: 2,
96 title: input.title,
97 };
98}
99
100describe('exportSessionDirectory', () => {
101 it('writes a zip with manifest and every session file', async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected