Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ This project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

Packages without a separate changelog are covered by the cross-package notes below.

## [Unreleased]
## [Unreleased - Patch]

### Changed

- The `connect` plan's monthly `api_calls` rises from 3,000,000 to 10,000,000, so a full 10-seat room polling for its whole 7-day life stays within quota.

## [10.6.1] - 2026-10-18

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ A workspace's `plan` (returned by `GET /v1/workspace`) sets both limits:
| Plan | Agents | API calls / month | Requests / minute |
| --- | --- | --- | --- |
| `free` | 5 | 100,000 | 300 |
| `connect` | 10 | 3,000,000 | 1,200 |
| `connect` | 10 | 10,000,000 | 1,200 |
| `pro` | 100 | 10,000,000 | 6,000 |
| `enterprise` | unlimited | unlimited | 30,000 |

Expand Down
6 changes: 5 additions & 1 deletion packages/engine/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ See the [root changelog](../../CHANGELOG.md) for cross-package release highlight
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [Unreleased - Patch]

### Changed

- `PLAN_LIMITS.connect.api_calls` rises from 3,000,000 to 10,000,000 (equal to `pro`), sized for a full 10-seat room polling for its 7-day maximum life.

## [10.6.1] - 2026-10-18

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,20 @@ describe('StaticEntitlementsProvider', () => {
const provider = new StaticEntitlementsProvider(undefined, 'free');
const limits = await provider.getLimits(workspace('connect'));
expect(limits).toBe(PLAN_LIMITS.connect);
expect(limits.api_calls).toBe(3_000_000);
expect(limits.api_calls).toBe(10_000_000);
expect(limits.agents).toBe(10);
});

it('sizes connect between free and pro on every metric', () => {
for (const metric of ['messages', 'agents', 'file_bytes', 'api_calls', 'rate_per_min'] as const) {
expect(PLAN_LIMITS.connect![metric]).toBeGreaterThan(PLAN_LIMITS.free![metric]);
}
for (const metric of ['messages', 'agents', 'file_bytes', 'rate_per_min'] as const) {
expect(PLAN_LIMITS.connect![metric]).toBeLessThan(PLAN_LIMITS.pro![metric]);
}
// Rooms poll constantly; connect's call budget is set to pro's for
// headroom, while its other limits stay below pro.
expect(PLAN_LIMITS.connect!.api_calls).toBeLessThanOrEqual(PLAN_LIMITS.pro!.api_calls);
});

it('falls back to the default plan for an unknown plan', async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/engine/src/providers/static-entitlements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const PLAN_LIMITS: Record<string, PlanLimits> = {
// Short-lived collaboration rooms (Relay Connect): a handful of seats that
// poll their inbox continuously, so api_calls dominates while messages stay
// low. Sized for a two-seat room polling every few seconds for a full month.
connect: { messages: 100_000, agents: 10, file_bytes: 1024 * 1024 * 1024, api_calls: 3_000_000, rate_per_min: 1200 },
connect: { messages: 100_000, agents: 10, file_bytes: 1024 * 1024 * 1024, api_calls: 10_000_000, rate_per_min: 1200 },
pro: { messages: 1_000_000, agents: 100, file_bytes: 50 * 1024 * 1024 * 1024, api_calls: 10_000_000, rate_per_min: 6000 },
enterprise: { messages: Infinity, agents: Infinity, file_bytes: 500 * 1024 * 1024 * 1024, api_calls: Infinity, rate_per_min: 30000 },
selfhost: { messages: Infinity, agents: Infinity, file_bytes: Infinity, api_calls: Infinity, rate_per_min: 30000 },
Expand Down
Loading