MCPcopy Index your code
hub / github.com/getagentseal/codeburn / parse

Function parse

tests/providers/zerostack.test.ts:80–88  ·  view source on GitHub ↗
(path: string, seen = new Set<string>())

Source from the content-addressed store, hash-verified

78
79describe('zerostack provider - parsing', () => {
80 async function parse(path: string, seen = new Set<string>()) {
81 const provider = createZerostackProvider(tmpDir)
82 const source = { path, project: 'myproject', provider: 'zerostack' }
83 const calls: ParsedProviderCall[] = []
84 for await (const call of provider.createSessionParser(source, seen).parse()) {
85 calls.push(call)
86 }
87 return calls
88 }
89
90 it('emits one cumulative call per session with a resolved cost', async () => {
91 const path = await write('sess-abc.json', session({ id: 'sess-abc' }))

Callers 1

zerostack.test.tsFile · 0.70

Calls 2

createZerostackProviderFunction · 0.85
parseMethod · 0.80

Tested by

no test coverage detected