feat minor billing feat/phase-2g-bundle
AI Agent git-import/068377df · 122 days ago · Mar 26, 2026 · Diff

feat(billing): indexing token metering, billing summary UI, import/docs

- Bridge: index response includes embedding_input_tokens (OpenAI usage or Ollama estimate) - lib/embedding.mjs: embedWithUsage(), estimateEmbeddingInputTokens() - Gateway: record monthly_indexing_tokens_used after index; billing-index-usage.mjs - billing/summary: token fields + policy; constants for included tokens by tier - Hub Settings → Billing: refreshable usage (hosted gateway); self-hosted shows notice - Tests: embedding-usage; import golden empty.md; checklist lists new test - Docs: HOSTED-CREDITS, IMPLEMENTATION-PLAN Phase 16, HUB-API, PRODUCT-DECISIONS-HOSTED-MVP - Landing/hub copy: hosted MVP metering; transcribe limits

sha256:6dbf1f1af6501f3c54cae0db1905c1eed981a54a6c2455bcc128f91bdfe29edb sha
sha256:dabda4d0d8085f0d029d4325acd27504d60b00102308121eb8864abed2255d5a snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:6dbf1f1af6501f3c54cae0db1905c1eed981a54a6c2455bcc128f91bdfe29edb --body "your comment"