@fleetless/sdk 5.2.0-next.1 → 5.2.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 +9 -1
- package/README.md +3 -1
- package/dist/index.cjs +133 -69
- package/dist/index.d.cts +57 -2
- package/dist/index.d.ts +57 -2
- package/dist/index.js +133 -69
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,13 +4,21 @@ All notable changes to `@fleetless/sdk`. The format follows Keep a Changelog; th
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [5.2.1] — 2026-11-26
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Built against `@fleetless/contracts` 18.2.0. A job's result can now be omitted: the robot sends no frame over 1.5 MiB, so a larger result arrives as `result: null` with `job.result_omitted` (`reason: 'too_large'`, `bytes`, `limit_bytes`), and the job keeps its state (fleetless/fleetless#1222). `services.call` resolves such a response as `null`. The `Job` and `JobRun` types carry the field; no new API.
|
|
12
|
+
|
|
13
|
+
## [5.2.0] — 2026-11-26
|
|
14
|
+
|
|
7
15
|
### Added
|
|
8
16
|
|
|
9
17
|
- **MCP clients by Client ID Metadata Document** (fleetless/fleetless#1218). `ClientMcpInteraction`, what `auth.mcpInteraction()` resolves, carries `client_id_host` (the domain the client's metadata document was fetched from, `null` for a self-registered client), `redirect_uri_host` and `redirect_uri_loopback`: a consent screen shows the domain and where the answer goes beside the unverified name, and warns when the answer goes to the person's own computer. `McpConsentGrant`, what `auth.listMcpGrants()` resolves, carries `client_id_host`. A grant's `client_id` may be the document's HTTPS URL; `auth.revokeMcpGrant()` encodes it as one path segment, as it encodes every id.
|
|
10
18
|
|
|
11
19
|
### Changed
|
|
12
20
|
|
|
13
|
-
- Built against `@fleetless/contracts` 18.1.0
|
|
21
|
+
- Built against `@fleetless/contracts` 18.1.0.
|
|
14
22
|
|
|
15
23
|
## [5.1.0] — 2026-11-06
|
|
16
24
|
|
package/README.md
CHANGED
|
@@ -28,7 +28,9 @@ Fleetless is in open beta: sign up at <https://console.fleetless.dev/signup>.
|
|
|
28
28
|
- **Read datapoints** once, subscribe to them live over one reconnecting
|
|
29
29
|
WebSocket, or query their recorded history.
|
|
30
30
|
- **Run actions and call services** by slug, with feedback, progress and
|
|
31
|
-
results as they arrive.
|
|
31
|
+
results as they arrive. A result over 1.5 MiB as JSON is more than the
|
|
32
|
+
robot sends: the job keeps its state, `result` is `null` and
|
|
33
|
+
`job.result_omitted` says how large it was.
|
|
32
34
|
- **Publish messages** to a topic, behind a failsafe the robot enforces
|
|
33
35
|
itself the moment your app goes quiet.
|
|
34
36
|
- **Show cameras**: a snapshot that is always there, or live video over
|