mirror of
https://github.com/stablyai/orca.git
synced 2026-11-03 10:37:35 +00:00
Readiness checklist review: PASS. No proven release-blocking findings. Codex and usage tests: 116 passed; all required CI checks green.
14 lines
588 B
TypeScript
14 lines
588 B
TypeScript
import { attributeUsageEvent } from '../usage/usage-event-attribution'
|
|
import type { UsageScanWorktreeRef } from '../usage/usage-provider-contract'
|
|
import type { UsageWorktreeResolver } from '../usage/usage-worktree-resolver'
|
|
import type { CodexUsageAttributedEvent, CodexUsageParsedEvent } from './types'
|
|
|
|
export type CodexUsageWorktreeRef = UsageScanWorktreeRef
|
|
|
|
export async function attributeCodexUsageEvent(
|
|
event: CodexUsageParsedEvent,
|
|
resolveWorktree: UsageWorktreeResolver
|
|
): Promise<CodexUsageAttributedEvent | null> {
|
|
return attributeUsageEvent(event, resolveWorktree)
|
|
}
|