@fleetless/sdk 3.0.3 → 3.1.0
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 +11 -0
- package/README.md +2 -0
- package/dist/index.cjs +294 -191
- package/dist/index.d.cts +260 -10
- package/dist/index.d.ts +260 -10
- package/dist/index.js +294 -191
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,17 @@ All notable changes to `@fleetless/sdk`. The format follows Keep a Changelog; th
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [3.1.0] — 2026-09-17
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **`client.robots`** — `list()` answers the robots the caller reaches, with bridge state and published version; `describe(robotId)` answers the datasheet: every granted datapoint, action, service, publisher and camera with unit, decimals and parameter JSON Schema, plus the `action_history` and `assets` capabilities. The same rows and the same sheet the MCP tools `robots_list` and `robot_describe` answer, from the same server code. Needs a cloud that serves contracts 1.1.0.
|
|
12
|
+
- **`client.jobs.history(robotId, options?)`** — the run history the reference described since 3.0.0 and the package never shipped. Filters `slug`, `state`, `kind`, `limit`, `beforeSeq`, `fromMs`, `toMs`; page until `next_cursor` is `null`.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Re-pinned to `@fleetless/contracts` 1.1.0. `ClientRobotListItem`, `McpRobotDatasheet`, `McpExposure`, `McpCapabilities`, `JobRun` and `JobRunListResponse` are re-exported.
|
|
17
|
+
|
|
7
18
|
## [3.0.3] — 2026-09-16
|
|
8
19
|
|
|
9
20
|
- Published from GitHub Actions by npm trusted publishing: no publish token exists anywhere, and every version from this one on carries a provenance attestation linking it to the commit and the run that built it. `npm audit signatures` checks it.
|
package/README.md
CHANGED
|
@@ -24,6 +24,8 @@ Fleetless is in closed beta. The waiting list is at
|
|
|
24
24
|
|
|
25
25
|
## ✨ What you can do with it
|
|
26
26
|
|
|
27
|
+
- **Find your robots** and read what your role lets you do on each — slugs,
|
|
28
|
+
units, parameter schemas — before you draw a screen.
|
|
27
29
|
- **Read datapoints** once, subscribe to them live over one reconnecting
|
|
28
30
|
WebSocket, or query their recorded history.
|
|
29
31
|
- **Run actions and call services** by slug, with feedback, progress and
|