tsc --noEmit- MUST use for type-checking before any commit.npm run build- Compiles project todist/.? RECOMMENDATION: Implement a one-shot test command (e.g.,bun testorvitest).
- MUST NOT run long-running/blocking processes (dev servers, watch modes).
- MUST NOT modify
dist/directly; it is generated bytsc. - MUST NOT modify
package-lock.jsonunless changing dependencies.
- Provider Logic:
src/providers/(Seesrc/providers/AGENTS.md) - Plugin Entry:
src/index.ts - Usage UI:
src/ui.ts - Hook Handlers:
src/hooks/
<context_hints>
src/types.ts- Shared schemas (UsageSnapshot, UsageEntry, PlanType).src/state.ts- In-memory usage snapshot cache.src/index.ts- Plugin entry point and hook registration.- Ignore:
dist/,node_modules/,**/*.test.ts. </context_hints>