@fleetless/contracts 16.0.0 → 16.1.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -9,6 +9,24 @@ version.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ### Changed
13
+
14
+ - **The plan catalogue** (fleetless/fleetless#1175). `PLANS` keeps its shape
15
+ and changes its values. Pro holds ten robots, ten apps, fifteen developer
16
+ seats, 500 app users and 500 hours of live video a month
17
+ (`live_video_ms_per_month` 1,800,000,000). Plus holds five seats and 100
18
+ app users. `features.two_factor` is `true` on Basic, so
19
+ `requiredPlanFor('two_factor')` answers `basic`; requiring it for the
20
+ organization (`require_two_factor`) stays with Pro. Prices: Plus
21
+ `eur_month` 3000 and `eur_year` 30600, Pro 15000 and 153000. Both yearly
22
+ prices divide by twelve to the cent.
23
+ - **`asset_bytes_per_robot` is 1,000,000,000 on Basic, Plus and Pro.** Asset
24
+ storage is no plan differentiator any more. No plan below Enterprise
25
+ raises it; an organization that needs more gets an override
26
+ (`planOverrides.asset_bytes_per_robot`). A consumer that names the way up
27
+ from this limit must not read it off `nextPlanRaising`, which answers
28
+ `enterprise`.
29
+
12
30
  ## [16.0.0] — 2026-11-19
13
31
 
14
32
  ### Changed
package/dist/plans.d.ts CHANGED
@@ -197,8 +197,21 @@ export declare function yearlyEurCents(monthEurCents: number): number;
197
197
  export declare function pricesFromEurMonth(eurMonthCents: number): PlanPrices;
198
198
  /**
199
199
  * The catalogue: limits, prices and features as the decision table
200
- * (2026-09-30) states them, except that the audit export is on every plan,
201
- * as the developer docs (`plans-and-limits.md`) and the cloud have it.
200
+ * (2026-09-30) states them, with two later changes. The audit export is on
201
+ * every plan, as the developer docs (`plans-and-limits.md`) and the cloud
202
+ * have it. And fleetless/fleetless#1175 (2026-11-19) made Pro hold a fleet
203
+ * (ten robots and apps, fifteen seats, 500 app users, 500 hours of live
204
+ * video), raised Plus to five seats and 100 app users, put a developer's
205
+ * own two-factor (`two_factor`) on every plan, and set the prices to 30 €
206
+ * and 150 € a month.
207
+ *
208
+ * **Asset storage is the same on every sold plan**, one gigabyte per robot:
209
+ * what a robot's meshes need depends on its CAD, not on the plan, so it is
210
+ * no plan differentiator. An organization that needs more gets it as an
211
+ * override (`planOverrides.asset_bytes_per_robot`), and no plan below
212
+ * Enterprise raises it — a consumer that names the way up from this limit
213
+ * must not read it off `nextPlanRaising`, which answers `enterprise`.
214
+ *
202
215
  * Live video is in milliseconds, asset storage in decimal bytes per robot;
203
216
  * Enterprise's limits and features are `null` / `true` throughout because
204
217
  * they are set by contract, not read off this table.
package/dist/plans.js CHANGED
@@ -138,8 +138,21 @@ export function pricesFromEurMonth(eurMonthCents) {
138
138
  }
139
139
  /**
140
140
  * The catalogue: limits, prices and features as the decision table
141
- * (2026-09-30) states them, except that the audit export is on every plan,
142
- * as the developer docs (`plans-and-limits.md`) and the cloud have it.
141
+ * (2026-09-30) states them, with two later changes. The audit export is on
142
+ * every plan, as the developer docs (`plans-and-limits.md`) and the cloud
143
+ * have it. And fleetless/fleetless#1175 (2026-11-19) made Pro hold a fleet
144
+ * (ten robots and apps, fifteen seats, 500 app users, 500 hours of live
145
+ * video), raised Plus to five seats and 100 app users, put a developer's
146
+ * own two-factor (`two_factor`) on every plan, and set the prices to 30 €
147
+ * and 150 € a month.
148
+ *
149
+ * **Asset storage is the same on every sold plan**, one gigabyte per robot:
150
+ * what a robot's meshes need depends on its CAD, not on the plan, so it is
151
+ * no plan differentiator. An organization that needs more gets it as an
152
+ * override (`planOverrides.asset_bytes_per_robot`), and no plan below
153
+ * Enterprise raises it — a consumer that names the way up from this limit
154
+ * must not read it off `nextPlanRaising`, which answers `enterprise`.
155
+ *
143
156
  * Live video is in milliseconds, asset storage in decimal bytes per robot;
144
157
  * Enterprise's limits and features are `null` / `true` throughout because
145
158
  * they are set by contract, not read off this table.
@@ -162,7 +175,7 @@ export const PLANS = {
162
175
  },
163
176
  features: {
164
177
  app_mcp: false,
165
- two_factor: false,
178
+ two_factor: true,
166
179
  require_two_factor: false,
167
180
  app_oidc: false,
168
181
  hosted_logo: false,
@@ -176,12 +189,12 @@ export const PLANS = {
176
189
  id: 'plus',
177
190
  name: 'Plus',
178
191
  limits: {
179
- seats: 3,
192
+ seats: 5,
180
193
  robots: 3,
181
194
  apps: 3,
182
- app_users: 25,
195
+ app_users: 100,
183
196
  live_video_ms_per_month: 360_000_000,
184
- asset_bytes_per_robot: 2_000_000_000,
197
+ asset_bytes_per_robot: 1_000_000_000,
185
198
  history_days: 30,
186
199
  audit_days: 30,
187
200
  collection_records: 250_000,
@@ -196,19 +209,19 @@ export const PLANS = {
196
209
  audit_export: true,
197
210
  addons: false,
198
211
  },
199
- prices: pricesFromEurMonth(2900),
212
+ prices: pricesFromEurMonth(3000),
200
213
  support: 'email',
201
214
  },
202
215
  pro: {
203
216
  id: 'pro',
204
217
  name: 'Pro',
205
218
  limits: {
206
- seats: 5,
207
- robots: 5,
208
- apps: 5,
209
- app_users: 50,
210
- live_video_ms_per_month: 900_000_000,
211
- asset_bytes_per_robot: 3_000_000_000,
219
+ seats: 15,
220
+ robots: 10,
221
+ apps: 10,
222
+ app_users: 500,
223
+ live_video_ms_per_month: 1_800_000_000,
224
+ asset_bytes_per_robot: 1_000_000_000,
212
225
  history_days: 90,
213
226
  audit_days: 90,
214
227
  collection_records: 1_000_000,
@@ -223,7 +236,7 @@ export const PLANS = {
223
236
  audit_export: true,
224
237
  addons: true,
225
238
  },
226
- prices: pricesFromEurMonth(14900),
239
+ prices: pricesFromEurMonth(15000),
227
240
  support: 'priority',
228
241
  },
229
242
  enterprise: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleetless/contracts",
3
- "version": "16.0.0",
3
+ "version": "16.1.0-next.1",
4
4
  "description": "Fleetless wire contracts: the bridge-cloud protocol, the REST API schemas and the error codes, as zod schemas with generated JSON Schema and OpenAPI artifacts.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Dehne Robotik GmbH",