MCPcopy Index your code
hub / github.com/codeaashu/claude-code / call

Function call

src/commands/extra-usage/extra-usage-noninteractive.ts:3–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { runExtraUsage } from './extra-usage-core.js'
2
3export async function call(): Promise<{ type: 'text'; value: string }> {
4 const result = await runExtraUsage()
5
6 if (result.type === 'message') {
7 return { type: 'text', value: result.value }
8 }
9
10 return {
11 type: 'text',
12 value: result.opened
13 ? `Browser opened to manage extra usage. If it didn't open, visit: ${result.url}`
14 : `Please visit ${result.url} to manage extra usage.`,
15 }
16}
17
18

Callers

nothing calls this directly

Calls 1

runExtraUsageFunction · 0.85

Tested by

no test coverage detected