chore: land in-progress workspace changes before 1.16.2
The tree carried uncommitted work from several areas (web push, mobile screens, admin charts, test-hygiene cleanup, CI and map docs). It is landed as one commit so the release pipeline can start from a clean tree; the desktop transcript-correction behaviour shipped in the previous commit and is unchanged here.
This commit is contained in:
parent
9c2b6a9782
commit
7fe49c437e
144 changed files with 3760 additions and 4523 deletions
18
packages/core/__tests__/plan-catalog.test.ts
Normal file
18
packages/core/__tests__/plan-catalog.test.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { describe, expect, it } from 'vitest'
|
||||
import { PLAN_QUOTA } from '../src/plan-catalog'
|
||||
|
||||
describe('plan catalog quota contract', () => {
|
||||
it('pins the existing knowledge embedding budget by tier and period', () => {
|
||||
const embeddingQuota = Object.fromEntries(
|
||||
Object.entries(PLAN_QUOTA).map(([tier, quota]) => [tier, quota.knowledge_embedding]),
|
||||
)
|
||||
|
||||
expect(embeddingQuota).toEqual({
|
||||
free: { limit: 5_000, period: 'weekly' },
|
||||
pro: { limit: 50_000, period: 'daily' },
|
||||
pro_plus: { limit: 150_000, period: 'daily' },
|
||||
team: { limit: 300_000, period: 'daily' },
|
||||
enterprise: { limit: -1, period: 'daily' },
|
||||
})
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue