feat: enhanced usage providers to extract account identifiers from headers

- Enhanced usage providers to extract account identifiers from response headers.
- Fixed GitHub Copilot usage provider token handling and account identifier resolution.
- Added usage report deduplication and provider sorting features.
- Added isolated task execution with git worktree management.
This commit is contained in:
can1357
2026-01-21 23:52:03 +01:00
parent 8e708d7f4c
commit b9c9330ea1
12 changed files with 414 additions and 183 deletions
@@ -8,7 +8,7 @@
import { createAgentSession, discoverSkills, SessionManager, type Skill } from "@oh-my-pi/pi-coding-agent";
// Discover all skills from cwd/.omp/skills, ~/.omp/agent/skills, etc.
const allSkills = discoverSkills();
const { skills: allSkills } = await discoverSkills();
console.log(
"Discovered skills:",
allSkills.map((s) => s.name),