MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / parse

Method parse

out/cli.cjs:69566–69571  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69564 * or add one of these imports before your first `import … from '@anthropic-ai/sdk'`:
69565 * - `import '@anthropic-ai/sdk/shims/node'` (if you're running on Node)
69566 * - `import '@anthropic-ai/sdk/shims/web'` (otherwise)
69567 */
69568 async withResponse() {
69569 const [data, response] = await Promise.all([this.parse(), this.asResponse()]);
69570 return { data, response };
69571 }
69572 parse() {
69573 if (!this.parsedPromise) {
69574 this.parsedPromise = this.responsePromise.then(this.parseResponse);

Callers 4

withResponseMethod · 0.95
thenMethod · 0.95
catchMethod · 0.95
finallyMethod · 0.95

Calls 1

thenMethod · 0.80

Tested by

no test coverage detected