@fleetless/contracts 9.1.0 → 9.2.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 +7 -0
- package/artifacts/openapi.json +261 -0
- package/artifacts/routes.json +38 -0
- package/artifacts/schema/bridge-state.schema.json +14 -0
- package/artifacts/schema/client-robot-list-item.schema.json +14 -0
- package/artifacts/schema/client-robot-list-response.schema.json +14 -0
- package/artifacts/schema/recover-held-job-request.schema.json +29 -0
- package/artifacts/schema/recover-held-job-response.schema.json +125 -0
- package/artifacts/schema/robot-detail-response.schema.json +14 -0
- package/artifacts/schema/robot-list-item.schema.json +14 -0
- package/artifacts/schema/robot-list-response.schema.json +14 -0
- package/dist/client-robots.d.ts +6 -0
- package/dist/errors.d.ts +1 -1
- package/dist/errors.js +12 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/protocol.d.ts +3 -0
- package/dist/protocol.js +1 -0
- package/dist/rest.d.ts +52 -0
- package/dist/rest.js +15 -0
- package/dist/routes.js +14 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,13 @@ version.
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Owner-only held-job recovery request and response for an audited physical-stop
|
|
15
|
+
assertion (`operator_verified_stopped`), and optional cloud-observed
|
|
16
|
+
`bridge_state.health_reason` for unanswered job queries. No bridge frame
|
|
17
|
+
changes.
|
|
18
|
+
|
|
12
19
|
## [9.1.0] — 2026-11-01
|
|
13
20
|
|
|
14
21
|
### Changed
|
package/artifacts/openapi.json
CHANGED
|
@@ -8108,6 +8108,73 @@
|
|
|
8108
8108
|
}
|
|
8109
8109
|
}
|
|
8110
8110
|
},
|
|
8111
|
+
"/api/robots/{id}/jobs/{slug}/recover": {
|
|
8112
|
+
"post": {
|
|
8113
|
+
"operationId": "post_api_robots_id_jobs_slug_recover",
|
|
8114
|
+
"summary": "Releases one held job after an Owner verifies the robot is stopped.",
|
|
8115
|
+
"tags": [
|
|
8116
|
+
"commands"
|
|
8117
|
+
],
|
|
8118
|
+
"security": [
|
|
8119
|
+
{
|
|
8120
|
+
"developerSession": []
|
|
8121
|
+
}
|
|
8122
|
+
],
|
|
8123
|
+
"parameters": [
|
|
8124
|
+
{
|
|
8125
|
+
"name": "id",
|
|
8126
|
+
"in": "path",
|
|
8127
|
+
"required": true,
|
|
8128
|
+
"description": "The robot uuid in the authenticated Owner's organization.",
|
|
8129
|
+
"schema": {
|
|
8130
|
+
"type": "string"
|
|
8131
|
+
}
|
|
8132
|
+
},
|
|
8133
|
+
{
|
|
8134
|
+
"name": "slug",
|
|
8135
|
+
"in": "path",
|
|
8136
|
+
"required": true,
|
|
8137
|
+
"description": "The action slug holding the exact job named in the body.",
|
|
8138
|
+
"schema": {
|
|
8139
|
+
"type": "string"
|
|
8140
|
+
}
|
|
8141
|
+
}
|
|
8142
|
+
],
|
|
8143
|
+
"responses": {
|
|
8144
|
+
"200": {
|
|
8145
|
+
"description": "Success.",
|
|
8146
|
+
"content": {
|
|
8147
|
+
"application/json": {
|
|
8148
|
+
"schema": {
|
|
8149
|
+
"$ref": "#/components/schemas/recover-held-job-response"
|
|
8150
|
+
}
|
|
8151
|
+
}
|
|
8152
|
+
}
|
|
8153
|
+
},
|
|
8154
|
+
"default": {
|
|
8155
|
+
"description": "An error envelope. Codes this route is known to answer: `unauthorized`, `token_expired`, `token_revoked`, `tier_required`, `support_forbidden`, `invalid_uuid`, `not_found`, `validation_error`, `job_state_conflict`, `internal_error`.",
|
|
8156
|
+
"content": {
|
|
8157
|
+
"application/json": {
|
|
8158
|
+
"schema": {
|
|
8159
|
+
"$ref": "#/components/schemas/api-error"
|
|
8160
|
+
}
|
|
8161
|
+
}
|
|
8162
|
+
}
|
|
8163
|
+
}
|
|
8164
|
+
},
|
|
8165
|
+
"description": "Use only after physically stopping or isolating the robot and checking that it cannot move. Read the held job id, then submit that exact id with a reason and `verified_stopped: true`. The assertion is a human safety check, not a sensor reading. The cloud records the Owner and reason in the audit trail and returns the job settled to `lost`. App users, server keys, other developers and support sessions cannot use this route. A connected bridge or a changed job returns `409 job_state_conflict`; a normal cancel is not recovery and never releases an uncertain job.",
|
|
8166
|
+
"requestBody": {
|
|
8167
|
+
"required": true,
|
|
8168
|
+
"content": {
|
|
8169
|
+
"application/json": {
|
|
8170
|
+
"schema": {
|
|
8171
|
+
"$ref": "#/components/schemas/recover-held-job-request"
|
|
8172
|
+
}
|
|
8173
|
+
}
|
|
8174
|
+
}
|
|
8175
|
+
}
|
|
8176
|
+
}
|
|
8177
|
+
},
|
|
8111
8178
|
"/api/robots/{id}/publishers/{slug}": {
|
|
8112
8179
|
"post": {
|
|
8113
8180
|
"operationId": "post_api_robots_id_publishers_slug",
|
|
@@ -18498,6 +18565,20 @@
|
|
|
18498
18565
|
"low_bandwidth": {
|
|
18499
18566
|
"type": "boolean",
|
|
18500
18567
|
"description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
|
|
18568
|
+
},
|
|
18569
|
+
"health_reason": {
|
|
18570
|
+
"description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
|
|
18571
|
+
"anyOf": [
|
|
18572
|
+
{
|
|
18573
|
+
"type": "string",
|
|
18574
|
+
"enum": [
|
|
18575
|
+
"job_query_unanswered"
|
|
18576
|
+
]
|
|
18577
|
+
},
|
|
18578
|
+
{
|
|
18579
|
+
"type": "null"
|
|
18580
|
+
}
|
|
18581
|
+
]
|
|
18501
18582
|
}
|
|
18502
18583
|
},
|
|
18503
18584
|
"required": [
|
|
@@ -27851,6 +27932,158 @@
|
|
|
27851
27932
|
],
|
|
27852
27933
|
"additionalProperties": false
|
|
27853
27934
|
},
|
|
27935
|
+
"recover-held-job-request": {
|
|
27936
|
+
"type": "object",
|
|
27937
|
+
"properties": {
|
|
27938
|
+
"job_id": {
|
|
27939
|
+
"type": "string",
|
|
27940
|
+
"format": "uuid",
|
|
27941
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
27942
|
+
"description": "The exact held job id read from the robot job state; another job must never be released by a stale request."
|
|
27943
|
+
},
|
|
27944
|
+
"verified_stopped": {
|
|
27945
|
+
"type": "boolean",
|
|
27946
|
+
"const": true,
|
|
27947
|
+
"description": "The Owner confirms a physical stop and safety check; this is not a cloud sensor reading."
|
|
27948
|
+
},
|
|
27949
|
+
"reason": {
|
|
27950
|
+
"type": "string",
|
|
27951
|
+
"minLength": 10,
|
|
27952
|
+
"maxLength": 500,
|
|
27953
|
+
"description": "The Owner's reason and safety-check record, 10–500 characters after trimming; retained in the audit trail."
|
|
27954
|
+
}
|
|
27955
|
+
},
|
|
27956
|
+
"required": [
|
|
27957
|
+
"job_id",
|
|
27958
|
+
"verified_stopped",
|
|
27959
|
+
"reason"
|
|
27960
|
+
],
|
|
27961
|
+
"additionalProperties": false
|
|
27962
|
+
},
|
|
27963
|
+
"recover-held-job-response": {
|
|
27964
|
+
"type": "object",
|
|
27965
|
+
"properties": {
|
|
27966
|
+
"job": {
|
|
27967
|
+
"type": "object",
|
|
27968
|
+
"properties": {
|
|
27969
|
+
"id": {
|
|
27970
|
+
"type": "string",
|
|
27971
|
+
"format": "uuid",
|
|
27972
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
27973
|
+
"description": "The job's id, minted by the cloud when the invocation is accepted. Informative — state is observed by slug; a cancel names this id to stop one specific job rather than whatever is running."
|
|
27974
|
+
},
|
|
27975
|
+
"robot_id": {
|
|
27976
|
+
"type": "string",
|
|
27977
|
+
"format": "uuid",
|
|
27978
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
27979
|
+
"description": "The robot this job is running on."
|
|
27980
|
+
},
|
|
27981
|
+
"slug": {
|
|
27982
|
+
"type": "string",
|
|
27983
|
+
"minLength": 2,
|
|
27984
|
+
"maxLength": 63,
|
|
27985
|
+
"pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$",
|
|
27986
|
+
"description": "The action or service this job is running, as the published configuration exposes it. One slug carries one job at a time, so every observer of that slug sees the same one."
|
|
27987
|
+
},
|
|
27988
|
+
"state": {
|
|
27989
|
+
"type": "string",
|
|
27990
|
+
"enum": [
|
|
27991
|
+
"running",
|
|
27992
|
+
"unknown",
|
|
27993
|
+
"succeeded",
|
|
27994
|
+
"failed",
|
|
27995
|
+
"cancelled",
|
|
27996
|
+
"lost"
|
|
27997
|
+
],
|
|
27998
|
+
"description": "Where the job stands: `running`, `unknown`, `succeeded`, `failed`, `cancelled` or `lost`. `unknown` is not an outcome — the robot went offline or silent and the cloud does not know yet; the slug stays occupied and the bridge's next statement resolves it, `error` naming why the cloud lost sight of it. `lost` is final: the bridge stated it does not know the job and nothing else runs on its action, or the action server vanished mid-goal."
|
|
27999
|
+
},
|
|
28000
|
+
"origin": {
|
|
28001
|
+
"type": "string",
|
|
28002
|
+
"enum": [
|
|
28003
|
+
"fleetless",
|
|
28004
|
+
"external"
|
|
28005
|
+
],
|
|
28006
|
+
"description": "Who started this job. `fleetless` for everything minted by the cloud; `external` for a goal the bridge found active on a published action without having sent it — no parameters, no starter, never written to `job_runs`."
|
|
28007
|
+
},
|
|
28008
|
+
"started_at": {
|
|
28009
|
+
"type": "string",
|
|
28010
|
+
"format": "date-time",
|
|
28011
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
28012
|
+
"description": "When the cloud minted this job, as an ISO 8601 timestamp. For a job adopted from a reconnecting bridge, this is **adoption time**, not the real start — the cloud never minted it."
|
|
28013
|
+
},
|
|
28014
|
+
"updated_at": {
|
|
28015
|
+
"type": "string",
|
|
28016
|
+
"format": "date-time",
|
|
28017
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
28018
|
+
"description": "When this job last changed, as an ISO 8601 timestamp."
|
|
28019
|
+
},
|
|
28020
|
+
"seq": {
|
|
28021
|
+
"type": "integer",
|
|
28022
|
+
"exclusiveMinimum": 0,
|
|
28023
|
+
"maximum": 9007199254740991,
|
|
28024
|
+
"description": "A monotonic counter ascending in mint order, and the named tiebreaker for any listing that claims one — `started_at` alone is not a total order. Scoped per cloud process and per run: job state lives in memory, so this restarts with the registry it orders."
|
|
28025
|
+
},
|
|
28026
|
+
"result": {
|
|
28027
|
+
"anyOf": [
|
|
28028
|
+
{},
|
|
28029
|
+
{
|
|
28030
|
+
"type": "null"
|
|
28031
|
+
}
|
|
28032
|
+
],
|
|
28033
|
+
"description": "What the call returned once it succeeded, shaped by the ROS action or service itself. `null` until then, and for a job that did not succeed."
|
|
28034
|
+
},
|
|
28035
|
+
"error": {
|
|
28036
|
+
"anyOf": [
|
|
28037
|
+
{
|
|
28038
|
+
"type": "object",
|
|
28039
|
+
"properties": {
|
|
28040
|
+
"code": {
|
|
28041
|
+
"type": "string",
|
|
28042
|
+
"minLength": 1,
|
|
28043
|
+
"description": "A machine-readable code for the failure, such as `job_queue_full`, where one exists for it."
|
|
28044
|
+
},
|
|
28045
|
+
"message": {
|
|
28046
|
+
"type": "string",
|
|
28047
|
+
"minLength": 1,
|
|
28048
|
+
"description": "A human-readable sentence saying what went wrong."
|
|
28049
|
+
},
|
|
28050
|
+
"details": {
|
|
28051
|
+
"description": "The structured payload belonging to `code`, for the codes that document one — `job_queue_full` carries its `limit` and its `queued` count here. Absent for a failure with nothing structured to add, which is most of them."
|
|
28052
|
+
}
|
|
28053
|
+
},
|
|
28054
|
+
"required": [
|
|
28055
|
+
"code",
|
|
28056
|
+
"message"
|
|
28057
|
+
],
|
|
28058
|
+
"additionalProperties": false
|
|
28059
|
+
},
|
|
28060
|
+
{
|
|
28061
|
+
"type": "null"
|
|
28062
|
+
}
|
|
28063
|
+
],
|
|
28064
|
+
"description": "Why the job failed, or why the cloud does not know how it stands: a human `message`, a `code` where one exists, and `details` for the codes that carry a documented payload. Set on `failed` and `lost`, and on `unknown` — where `code` is `bridge_disconnected` or `bridge_timeout`, the cloud's own reason for not knowing, cleared when the bridge reports the job running again."
|
|
28065
|
+
}
|
|
28066
|
+
},
|
|
28067
|
+
"required": [
|
|
28068
|
+
"id",
|
|
28069
|
+
"robot_id",
|
|
28070
|
+
"slug",
|
|
28071
|
+
"state",
|
|
28072
|
+
"origin",
|
|
28073
|
+
"started_at",
|
|
28074
|
+
"updated_at",
|
|
28075
|
+
"seq",
|
|
28076
|
+
"result",
|
|
28077
|
+
"error"
|
|
28078
|
+
],
|
|
28079
|
+
"additionalProperties": false
|
|
28080
|
+
}
|
|
28081
|
+
},
|
|
28082
|
+
"required": [
|
|
28083
|
+
"job"
|
|
28084
|
+
],
|
|
28085
|
+
"additionalProperties": false
|
|
28086
|
+
},
|
|
27854
28087
|
"recovery-codes-response": {
|
|
27855
28088
|
"type": "object",
|
|
27856
28089
|
"properties": {
|
|
@@ -28125,6 +28358,20 @@
|
|
|
28125
28358
|
"low_bandwidth": {
|
|
28126
28359
|
"type": "boolean",
|
|
28127
28360
|
"description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
|
|
28361
|
+
},
|
|
28362
|
+
"health_reason": {
|
|
28363
|
+
"description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
|
|
28364
|
+
"anyOf": [
|
|
28365
|
+
{
|
|
28366
|
+
"type": "string",
|
|
28367
|
+
"enum": [
|
|
28368
|
+
"job_query_unanswered"
|
|
28369
|
+
]
|
|
28370
|
+
},
|
|
28371
|
+
{
|
|
28372
|
+
"type": "null"
|
|
28373
|
+
}
|
|
28374
|
+
]
|
|
28128
28375
|
}
|
|
28129
28376
|
},
|
|
28130
28377
|
"required": [
|
|
@@ -28580,6 +28827,20 @@
|
|
|
28580
28827
|
"low_bandwidth": {
|
|
28581
28828
|
"type": "boolean",
|
|
28582
28829
|
"description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
|
|
28830
|
+
},
|
|
28831
|
+
"health_reason": {
|
|
28832
|
+
"description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
|
|
28833
|
+
"anyOf": [
|
|
28834
|
+
{
|
|
28835
|
+
"type": "string",
|
|
28836
|
+
"enum": [
|
|
28837
|
+
"job_query_unanswered"
|
|
28838
|
+
]
|
|
28839
|
+
},
|
|
28840
|
+
{
|
|
28841
|
+
"type": "null"
|
|
28842
|
+
}
|
|
28843
|
+
]
|
|
28583
28844
|
}
|
|
28584
28845
|
},
|
|
28585
28846
|
"required": [
|
package/artifacts/routes.json
CHANGED
|
@@ -5848,6 +5848,44 @@
|
|
|
5848
5848
|
"transport": "http",
|
|
5849
5849
|
"notes": "The body is optional: a bodyless `POST` was every caller's shape before `job_id` existed, and absent or `job_id: null` both mean \"cancel whatever is running\". A named `job_id` that is **not** what is running cancels nothing and answers `404` — the caller named an id and thereby ruled the other one out. An `external` job is cancelled the same way, through its goal id. Cancelling an `unknown` job also cancels every external goal on its action, since one of them may be that job. A service is `422 not_cancellable`: a service call has no goal to cancel. Nothing running is a `200` with `job: null`. The answer waits for the bridge's `cancel_result`: a `200` means the action server accepted the cancel request, not that the goal has ended — the job's end arrives as its own update. Any goal answered `ERROR_REJECTED` makes it `409 cancel_rejected`, with every goal and its `return_code` in `details.goals`; no answer within `JOB_HEARTBEAT_TIMEOUT_MS` is `504 bridge_timeout`; a cancel the bridge could not send at all is `502` carrying the bridge's own code (`unknown_slug`, `action_server_lost`, `internal_error`)."
|
|
5850
5850
|
},
|
|
5851
|
+
{
|
|
5852
|
+
"method": "POST",
|
|
5853
|
+
"path": "/api/robots/:id/jobs/:slug/recover",
|
|
5854
|
+
"section": "commands",
|
|
5855
|
+
"summary": "Releases one held job after an Owner verifies the robot is stopped.",
|
|
5856
|
+
"audience": "developer",
|
|
5857
|
+
"auth": "developer",
|
|
5858
|
+
"rateLimited": false,
|
|
5859
|
+
"ownerTier": true,
|
|
5860
|
+
"status": 200,
|
|
5861
|
+
"params": [
|
|
5862
|
+
{
|
|
5863
|
+
"name": "id",
|
|
5864
|
+
"description": "The robot uuid in the authenticated Owner's organization."
|
|
5865
|
+
},
|
|
5866
|
+
{
|
|
5867
|
+
"name": "slug",
|
|
5868
|
+
"description": "The action slug holding the exact job named in the body."
|
|
5869
|
+
}
|
|
5870
|
+
],
|
|
5871
|
+
"query": null,
|
|
5872
|
+
"request": "recover-held-job-request",
|
|
5873
|
+
"response": "recover-held-job-response",
|
|
5874
|
+
"errors": [
|
|
5875
|
+
"unauthorized",
|
|
5876
|
+
"token_expired",
|
|
5877
|
+
"token_revoked",
|
|
5878
|
+
"tier_required",
|
|
5879
|
+
"support_forbidden",
|
|
5880
|
+
"invalid_uuid",
|
|
5881
|
+
"not_found",
|
|
5882
|
+
"validation_error",
|
|
5883
|
+
"job_state_conflict",
|
|
5884
|
+
"internal_error"
|
|
5885
|
+
],
|
|
5886
|
+
"transport": "http",
|
|
5887
|
+
"notes": "Use only after physically stopping or isolating the robot and checking that it cannot move. Read the held job id, then submit that exact id with a reason and `verified_stopped: true`. The assertion is a human safety check, not a sensor reading. The cloud records the Owner and reason in the audit trail and returns the job settled to `lost`. App users, server keys, other developers and support sessions cannot use this route. A connected bridge or a changed job returns `409 job_state_conflict`; a normal cancel is not recovery and never releases an uncertain job."
|
|
5888
|
+
},
|
|
5851
5889
|
{
|
|
5852
5890
|
"method": "POST",
|
|
5853
5891
|
"path": "/api/robots/:id/publishers/:slug",
|
|
@@ -19,6 +19,20 @@
|
|
|
19
19
|
"low_bandwidth": {
|
|
20
20
|
"type": "boolean",
|
|
21
21
|
"description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
|
|
22
|
+
},
|
|
23
|
+
"health_reason": {
|
|
24
|
+
"description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
|
|
25
|
+
"anyOf": [
|
|
26
|
+
{
|
|
27
|
+
"type": "string",
|
|
28
|
+
"enum": [
|
|
29
|
+
"job_query_unanswered"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "null"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
22
36
|
}
|
|
23
37
|
},
|
|
24
38
|
"required": [
|
|
@@ -40,6 +40,20 @@
|
|
|
40
40
|
"low_bandwidth": {
|
|
41
41
|
"type": "boolean",
|
|
42
42
|
"description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
|
|
43
|
+
},
|
|
44
|
+
"health_reason": {
|
|
45
|
+
"description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
|
|
46
|
+
"anyOf": [
|
|
47
|
+
{
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": [
|
|
50
|
+
"job_query_unanswered"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "null"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
43
57
|
}
|
|
44
58
|
},
|
|
45
59
|
"required": [
|
|
@@ -45,6 +45,20 @@
|
|
|
45
45
|
"low_bandwidth": {
|
|
46
46
|
"type": "boolean",
|
|
47
47
|
"description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
|
|
48
|
+
},
|
|
49
|
+
"health_reason": {
|
|
50
|
+
"description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
|
|
51
|
+
"anyOf": [
|
|
52
|
+
{
|
|
53
|
+
"type": "string",
|
|
54
|
+
"enum": [
|
|
55
|
+
"job_query_unanswered"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "null"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
48
62
|
}
|
|
49
63
|
},
|
|
50
64
|
"required": [
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"job_id": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"format": "uuid",
|
|
8
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
9
|
+
"description": "The exact held job id read from the robot job state; another job must never be released by a stale request."
|
|
10
|
+
},
|
|
11
|
+
"verified_stopped": {
|
|
12
|
+
"type": "boolean",
|
|
13
|
+
"const": true,
|
|
14
|
+
"description": "The Owner confirms a physical stop and safety check; this is not a cloud sensor reading."
|
|
15
|
+
},
|
|
16
|
+
"reason": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 10,
|
|
19
|
+
"maxLength": 500,
|
|
20
|
+
"description": "The Owner's reason and safety-check record, 10–500 characters after trimming; retained in the audit trail."
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": [
|
|
24
|
+
"job_id",
|
|
25
|
+
"verified_stopped",
|
|
26
|
+
"reason"
|
|
27
|
+
],
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"job": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"id": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"format": "uuid",
|
|
11
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
12
|
+
"description": "The job's id, minted by the cloud when the invocation is accepted. Informative — state is observed by slug; a cancel names this id to stop one specific job rather than whatever is running."
|
|
13
|
+
},
|
|
14
|
+
"robot_id": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "uuid",
|
|
17
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
18
|
+
"description": "The robot this job is running on."
|
|
19
|
+
},
|
|
20
|
+
"slug": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 2,
|
|
23
|
+
"maxLength": 63,
|
|
24
|
+
"pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$",
|
|
25
|
+
"description": "The action or service this job is running, as the published configuration exposes it. One slug carries one job at a time, so every observer of that slug sees the same one."
|
|
26
|
+
},
|
|
27
|
+
"state": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": [
|
|
30
|
+
"running",
|
|
31
|
+
"unknown",
|
|
32
|
+
"succeeded",
|
|
33
|
+
"failed",
|
|
34
|
+
"cancelled",
|
|
35
|
+
"lost"
|
|
36
|
+
],
|
|
37
|
+
"description": "Where the job stands: `running`, `unknown`, `succeeded`, `failed`, `cancelled` or `lost`. `unknown` is not an outcome — the robot went offline or silent and the cloud does not know yet; the slug stays occupied and the bridge's next statement resolves it, `error` naming why the cloud lost sight of it. `lost` is final: the bridge stated it does not know the job and nothing else runs on its action, or the action server vanished mid-goal."
|
|
38
|
+
},
|
|
39
|
+
"origin": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": [
|
|
42
|
+
"fleetless",
|
|
43
|
+
"external"
|
|
44
|
+
],
|
|
45
|
+
"description": "Who started this job. `fleetless` for everything minted by the cloud; `external` for a goal the bridge found active on a published action without having sent it — no parameters, no starter, never written to `job_runs`."
|
|
46
|
+
},
|
|
47
|
+
"started_at": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"format": "date-time",
|
|
50
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
51
|
+
"description": "When the cloud minted this job, as an ISO 8601 timestamp. For a job adopted from a reconnecting bridge, this is **adoption time**, not the real start — the cloud never minted it."
|
|
52
|
+
},
|
|
53
|
+
"updated_at": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"format": "date-time",
|
|
56
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
|
|
57
|
+
"description": "When this job last changed, as an ISO 8601 timestamp."
|
|
58
|
+
},
|
|
59
|
+
"seq": {
|
|
60
|
+
"type": "integer",
|
|
61
|
+
"exclusiveMinimum": 0,
|
|
62
|
+
"maximum": 9007199254740991,
|
|
63
|
+
"description": "A monotonic counter ascending in mint order, and the named tiebreaker for any listing that claims one — `started_at` alone is not a total order. Scoped per cloud process and per run: job state lives in memory, so this restarts with the registry it orders."
|
|
64
|
+
},
|
|
65
|
+
"result": {
|
|
66
|
+
"anyOf": [
|
|
67
|
+
{},
|
|
68
|
+
{
|
|
69
|
+
"type": "null"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"description": "What the call returned once it succeeded, shaped by the ROS action or service itself. `null` until then, and for a job that did not succeed."
|
|
73
|
+
},
|
|
74
|
+
"error": {
|
|
75
|
+
"anyOf": [
|
|
76
|
+
{
|
|
77
|
+
"type": "object",
|
|
78
|
+
"properties": {
|
|
79
|
+
"code": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"minLength": 1,
|
|
82
|
+
"description": "A machine-readable code for the failure, such as `job_queue_full`, where one exists for it."
|
|
83
|
+
},
|
|
84
|
+
"message": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"minLength": 1,
|
|
87
|
+
"description": "A human-readable sentence saying what went wrong."
|
|
88
|
+
},
|
|
89
|
+
"details": {
|
|
90
|
+
"description": "The structured payload belonging to `code`, for the codes that document one — `job_queue_full` carries its `limit` and its `queued` count here. Absent for a failure with nothing structured to add, which is most of them."
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"required": [
|
|
94
|
+
"code",
|
|
95
|
+
"message"
|
|
96
|
+
],
|
|
97
|
+
"additionalProperties": false
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "null"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"description": "Why the job failed, or why the cloud does not know how it stands: a human `message`, a `code` where one exists, and `details` for the codes that carry a documented payload. Set on `failed` and `lost`, and on `unknown` — where `code` is `bridge_disconnected` or `bridge_timeout`, the cloud's own reason for not knowing, cleared when the bridge reports the job running again."
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": [
|
|
107
|
+
"id",
|
|
108
|
+
"robot_id",
|
|
109
|
+
"slug",
|
|
110
|
+
"state",
|
|
111
|
+
"origin",
|
|
112
|
+
"started_at",
|
|
113
|
+
"updated_at",
|
|
114
|
+
"seq",
|
|
115
|
+
"result",
|
|
116
|
+
"error"
|
|
117
|
+
],
|
|
118
|
+
"additionalProperties": false
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"job"
|
|
123
|
+
],
|
|
124
|
+
"additionalProperties": false
|
|
125
|
+
}
|
|
@@ -40,6 +40,20 @@
|
|
|
40
40
|
"low_bandwidth": {
|
|
41
41
|
"type": "boolean",
|
|
42
42
|
"description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
|
|
43
|
+
},
|
|
44
|
+
"health_reason": {
|
|
45
|
+
"description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
|
|
46
|
+
"anyOf": [
|
|
47
|
+
{
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": [
|
|
50
|
+
"job_query_unanswered"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "null"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
43
57
|
}
|
|
44
58
|
},
|
|
45
59
|
"required": [
|
|
@@ -40,6 +40,20 @@
|
|
|
40
40
|
"low_bandwidth": {
|
|
41
41
|
"type": "boolean",
|
|
42
42
|
"description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
|
|
43
|
+
},
|
|
44
|
+
"health_reason": {
|
|
45
|
+
"description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
|
|
46
|
+
"anyOf": [
|
|
47
|
+
{
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": [
|
|
50
|
+
"job_query_unanswered"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "null"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
43
57
|
}
|
|
44
58
|
},
|
|
45
59
|
"required": [
|
|
@@ -45,6 +45,20 @@
|
|
|
45
45
|
"low_bandwidth": {
|
|
46
46
|
"type": "boolean",
|
|
47
47
|
"description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
|
|
48
|
+
},
|
|
49
|
+
"health_reason": {
|
|
50
|
+
"description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
|
|
51
|
+
"anyOf": [
|
|
52
|
+
{
|
|
53
|
+
"type": "string",
|
|
54
|
+
"enum": [
|
|
55
|
+
"job_query_unanswered"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "null"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
48
62
|
}
|
|
49
63
|
},
|
|
50
64
|
"required": [
|
package/dist/client-robots.d.ts
CHANGED
|
@@ -15,6 +15,9 @@ export declare const clientRobotListItem: z.ZodObject<{
|
|
|
15
15
|
online: z.ZodBoolean;
|
|
16
16
|
latency_ms: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
low_bandwidth: z.ZodBoolean;
|
|
18
|
+
health_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
19
|
+
job_query_unanswered: "job_query_unanswered";
|
|
20
|
+
}>>>;
|
|
18
21
|
}, z.core.$strip>;
|
|
19
22
|
published_version: z.ZodNullable<z.ZodNumber>;
|
|
20
23
|
id: z.ZodUUID;
|
|
@@ -29,6 +32,9 @@ export declare const clientRobotListResponse: z.ZodObject<{
|
|
|
29
32
|
online: z.ZodBoolean;
|
|
30
33
|
latency_ms: z.ZodNullable<z.ZodNumber>;
|
|
31
34
|
low_bandwidth: z.ZodBoolean;
|
|
35
|
+
health_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
36
|
+
job_query_unanswered: "job_query_unanswered";
|
|
37
|
+
}>>>;
|
|
32
38
|
}, z.core.$strip>;
|
|
33
39
|
published_version: z.ZodNullable<z.ZodNumber>;
|
|
34
40
|
id: z.ZodUUID;
|
package/dist/errors.d.ts
CHANGED
|
@@ -258,5 +258,5 @@ export type BillingDocumentsUnavailableDetails = z.infer<typeof billingDocuments
|
|
|
258
258
|
* list is the shared vocabulary, not a closed set, so a new refusal never
|
|
259
259
|
* needs a contracts release before it can be reported honestly.
|
|
260
260
|
*/
|
|
261
|
-
export declare const ERROR_CODES: readonly ["not_found", "validation_error", "bad_request", "unknown_datapoint", "invalid_token", "protocol_mismatch", "bridge_too_old", "invalid_frame", "duplicate_slug", "reserved_slug", "unknown_slug", "unknown_field_path", "unknown_type", "unknown_topic", "invalid_rate", "invalid_range", "config_conflict", "no_data", "robot_offline", "bridge_timeout", "unauthorized", "forbidden", "invalid_credentials", "token_expired", "token_revoked", "email_taken", "identifier_taken", "weak_password", "account_blocked", "busy", "parameter_invalid", "cancel_rejected", "job_lost", "job_unknown_to_bridge", "action_server_lost", "action_failed", "goal_rejected", "goal_send_failed", "result_failed", "goal_uncontrollable", "bridge_disconnected", "config_changed", "publisher_busy", "unknown_command", "not_subscribable", "camera_offline", "no_snapshot_yet", "live_unavailable", "wrong_kind", "not_recorded", "not_aggregatable", "quota_exceeded", "credential_in_use", "goal_timeout", "robot_in_use", "robot_deletion_partial", "job_queue_full", "invalid_uuid", "rate_limited", "tier_required", "token_spent", "service_timeout", "asset_missing", "dynamic_registration_disabled", "client_limit_reached", "idp_unavailable", "mcp_disabled", "tool_not_available", "capability_required", "last_owner", "role_name_taken", "role_in_use", "last_role", "target_state_conflict", "signup_closed", "draft_not_a_document", "internal_error", "not_cancellable", "unsupported_media_type", "wrong_browser", "invalid_yaml", "unstorable_yaml", "registration_closed", "domain_not_allowed", "email_unverified", "origin_not_allowed", "template_invalid", "provider_disabled", "provider_misconfigured", "invalid_redirect_uri", "interaction_expired", "invalid_code", "method_not_allowed", "plan_limit", "plan_required", "org_locked", "file_too_large", "billing_unavailable", "payment_provider_unavailable", "history_migrating", "billing_documents_unavailable", "support_read_only", "support_forbidden"];
|
|
261
|
+
export declare const ERROR_CODES: readonly ["not_found", "validation_error", "bad_request", "unknown_datapoint", "invalid_token", "protocol_mismatch", "bridge_too_old", "invalid_frame", "duplicate_slug", "reserved_slug", "unknown_slug", "unknown_field_path", "unknown_type", "unknown_topic", "invalid_rate", "invalid_range", "config_conflict", "no_data", "robot_offline", "bridge_timeout", "unauthorized", "forbidden", "invalid_credentials", "token_expired", "token_revoked", "email_taken", "identifier_taken", "weak_password", "account_blocked", "busy", "parameter_invalid", "cancel_rejected", "job_lost", "operator_verified_stopped", "job_unknown_to_bridge", "action_server_lost", "action_failed", "goal_rejected", "goal_send_failed", "result_failed", "goal_uncontrollable", "bridge_disconnected", "config_changed", "publisher_busy", "unknown_command", "not_subscribable", "camera_offline", "no_snapshot_yet", "live_unavailable", "wrong_kind", "not_recorded", "not_aggregatable", "quota_exceeded", "credential_in_use", "goal_timeout", "robot_in_use", "robot_deletion_partial", "job_queue_full", "invalid_uuid", "rate_limited", "tier_required", "token_spent", "service_timeout", "asset_missing", "dynamic_registration_disabled", "client_limit_reached", "idp_unavailable", "mcp_disabled", "tool_not_available", "capability_required", "last_owner", "role_name_taken", "role_in_use", "last_role", "target_state_conflict", "job_state_conflict", "signup_closed", "draft_not_a_document", "internal_error", "not_cancellable", "unsupported_media_type", "wrong_browser", "invalid_yaml", "unstorable_yaml", "registration_closed", "domain_not_allowed", "email_unverified", "origin_not_allowed", "template_invalid", "provider_disabled", "provider_misconfigured", "invalid_redirect_uri", "interaction_expired", "invalid_code", "method_not_allowed", "plan_limit", "plan_required", "org_locked", "file_too_large", "billing_unavailable", "payment_provider_unavailable", "history_migrating", "billing_documents_unavailable", "support_read_only", "support_forbidden"];
|
|
262
262
|
export type ErrorCode = (typeof ERROR_CODES)[number];
|
package/dist/errors.js
CHANGED
|
@@ -315,6 +315,12 @@ export const ERROR_CODES = [
|
|
|
315
315
|
* `job_unknown_to_bridge` (confirmed not-known job).
|
|
316
316
|
*/
|
|
317
317
|
'job_lost',
|
|
318
|
+
/**
|
|
319
|
+
* `Job.error.code` on `lost` after an org Owner explicitly verifies the
|
|
320
|
+
* robot is physically stopped and releases one held job. This records a
|
|
321
|
+
* human safety assertion, not a bridge statement or a timer decision.
|
|
322
|
+
*/
|
|
323
|
+
'operator_verified_stopped',
|
|
318
324
|
/**
|
|
319
325
|
* The bridge confirms it does not know this job after reconciliation,
|
|
320
326
|
* rather than merely omitting it from `hello.active_jobs`. For an action,
|
|
@@ -758,6 +764,12 @@ export const ERROR_CODES = [
|
|
|
758
764
|
*
|
|
759
765
|
*/
|
|
760
766
|
'target_state_conflict',
|
|
767
|
+
/**
|
|
768
|
+
* A held-job recovery cannot release the named job: its state changed, the
|
|
769
|
+
* bridge reconnected, or the id no longer matches. The Owner must read the
|
|
770
|
+
* current job and connection state before deciding whether to try again.
|
|
771
|
+
*/
|
|
772
|
+
'job_state_conflict',
|
|
761
773
|
// 2026-09-04 — the public site (closed beta).
|
|
762
774
|
/**
|
|
763
775
|
* `403` from the portal's sign-up pages while `SIGNUP_MODE=closed`. Not
|
package/dist/index.d.ts
CHANGED
|
@@ -21,12 +21,12 @@ export { DOCUMENT_ROOT_PATH, EXPOSURE_SECTIONS, schemaIssues, formatPath, splitF
|
|
|
21
21
|
export type { SchemaIssue, ExposureSection } from './config-issues.js';
|
|
22
22
|
export { rosGraphEntry, rosGraph, typeField, typeDefinition, parameterFieldsOf } from './introspection.js';
|
|
23
23
|
export type { RosGraphEntry, RosGraph, TypeField, TypeDefinition } from './introspection.js';
|
|
24
|
-
export { robot, patchRobotResponse, robotToken, createRobotRequest, createRobotResponse, robotTokenRotateResponse, jointStatePutRequest, jointStatePutResponse, exposureCounts, protocolStatusValue, robotListItem, robotListResponse, datapointValue, robotDetailResponse, configDraftResponse, putConfigDraftRequest, publishConfigResponse, configVersionsResponse, configVersionResponse, introspectionResponse, typesResponse, fetchTypesRequest, fetchTypesResponse, datapointDescriptor, datapointListResponse, robotDetailsDoc, putRobotDetailsResponse, putRobotDetailsRequest, invokeRequest, invokeResponse, cancelRequest, releaseLiveQuery, serviceCallResponse, invokeOrServiceResponse, publishRequest, jobResponse, robotJobsResponse, rateLimitDetails, exposure, exposureListResponse, SNAPSHOT_HEADERS, ASSET_UPLOAD_HEADERS, cameraDescriptor, cameraListResponse, liveSessionResponse, snapshotMetaResponse, historyQuery, historySamplesResponse, historyBucketsResponse, historyResponse, orgQuotas, orgQuotaUsage, orgQuotaUsageCounts, robotDeletionSummary, RESOURCE_HEALTH_STATES, resourceHealthState, resourceHealthListResponse, orgHealthQuery, robotDeleteQuery, patchRobotRequest, renameSlugRequest, renameSlugResponse, slugUsageResponse, } from './rest.js';
|
|
24
|
+
export { robot, patchRobotResponse, robotToken, createRobotRequest, createRobotResponse, robotTokenRotateResponse, jointStatePutRequest, jointStatePutResponse, exposureCounts, protocolStatusValue, robotListItem, robotListResponse, datapointValue, robotDetailResponse, configDraftResponse, putConfigDraftRequest, publishConfigResponse, configVersionsResponse, configVersionResponse, introspectionResponse, typesResponse, fetchTypesRequest, fetchTypesResponse, datapointDescriptor, datapointListResponse, robotDetailsDoc, putRobotDetailsResponse, putRobotDetailsRequest, invokeRequest, invokeResponse, cancelRequest, recoverHeldJobRequest, recoverHeldJobResponse, releaseLiveQuery, serviceCallResponse, invokeOrServiceResponse, publishRequest, jobResponse, robotJobsResponse, rateLimitDetails, exposure, exposureListResponse, SNAPSHOT_HEADERS, ASSET_UPLOAD_HEADERS, cameraDescriptor, cameraListResponse, liveSessionResponse, snapshotMetaResponse, historyQuery, historySamplesResponse, historyBucketsResponse, historyResponse, orgQuotas, orgQuotaUsage, orgQuotaUsageCounts, robotDeletionSummary, RESOURCE_HEALTH_STATES, resourceHealthState, resourceHealthListResponse, orgHealthQuery, robotDeleteQuery, patchRobotRequest, renameSlugRequest, renameSlugResponse, slugUsageResponse, } from './rest.js';
|
|
25
25
|
export type { HistoryQuery, HistorySamplesResponse, HistoryResponse, HistoryBucketsResponse, OrgQuotas, OrgQuotaUsage, OrgQuotaUsageCounts, RobotDeletionSummary, ResourceHealthState, ResourceHealthListResponse, OrgHealthQuery, RobotDeleteQuery, PatchRobotRequest, RenameSlugRequest, RenameSlugResponse, SlugUsageResponse, } from './rest.js';
|
|
26
26
|
export { LATENCY_BUCKET_MS, BRIDGE_LATENCY_RETENTION_DAYS, MAX_LATENCY_BUCKETS_PER_RESPONSE, latencyBucket, robotLatencySeries, orgLatencyQuery, orgLatencyResponse, USAGE_WINDOW_MAX_DAYS, usageMetric, usageDay, orgUsageQuery, usageRow, orgUsageResponse, } from './rest.js';
|
|
27
27
|
export type { LatencyBucket, RobotLatencySeries, OrgLatencyResponse } from './rest.js';
|
|
28
28
|
export type { UsageMetric, OrgUsageQuery, UsageRow, OrgUsageResponse } from './rest.js';
|
|
29
|
-
export type { Robot, PatchRobotResponse, CreateRobotRequest, CreateRobotResponse, RobotTokenRotateResponse, JointStatePutRequest, JointStatePutResponse, ExposureCounts, ProtocolStatusValue, RobotListItem, RobotListResponse, DatapointValue, RobotDetailResponse, ConfigDraftResponse, PutConfigDraftRequest, PublishConfigResponse, ConfigVersionsResponse, ConfigVersionResponse, IntrospectionResponse, TypesResponse, FetchTypesRequest, FetchTypesResponse, DatapointDescriptor, DatapointListResponse, RobotDetailsDoc, PutRobotDetailsResponse, PutRobotDetailsRequest, InvokeRequest, InvokeResponse, CancelRequest, ReleaseLiveQuery, ServiceCallResponse, InvokeOrServiceResponse, PublishRequest, JobResponse, RobotJobsResponse, RateLimitDetails, Exposure, ExposureListResponse, CameraDescriptor, CameraListResponse, LiveSessionResponse, SnapshotMetaResponse, } from './rest.js';
|
|
29
|
+
export type { Robot, PatchRobotResponse, CreateRobotRequest, CreateRobotResponse, RobotTokenRotateResponse, JointStatePutRequest, JointStatePutResponse, ExposureCounts, ProtocolStatusValue, RobotListItem, RobotListResponse, DatapointValue, RobotDetailResponse, ConfigDraftResponse, PutConfigDraftRequest, PublishConfigResponse, ConfigVersionsResponse, ConfigVersionResponse, IntrospectionResponse, TypesResponse, FetchTypesRequest, FetchTypesResponse, DatapointDescriptor, DatapointListResponse, RobotDetailsDoc, PutRobotDetailsResponse, PutRobotDetailsRequest, InvokeRequest, InvokeResponse, CancelRequest, RecoverHeldJobRequest, RecoverHeldJobResponse, ReleaseLiveQuery, ServiceCallResponse, InvokeOrServiceResponse, PublishRequest, JobResponse, RobotJobsResponse, RateLimitDetails, Exposure, ExposureListResponse, CameraDescriptor, CameraListResponse, LiveSessionResponse, SnapshotMetaResponse, } from './rest.js';
|
|
30
30
|
export { clientAuth, authOk, authError, clientInvoke, clientCancel, clientPublish, commandResult, errorFrame, clientSubscribe, clientUnsubscribe, subscribeError, datapointEvent, resourceHealthEvent, resourceHealthCleared, liveSessionEndReason, liveSessionEvent, ORG_EVENT_SAMPLE_INTERVAL_MS, ORG_EVENT_ORG_CEILING_PER_SECOND, ORG_EVENT_BUFFER_SIZE, ORG_EVENT_BUFFER_IDLE_MS, ORG_EVENT_DETAIL_MAX_BYTES, orgEventKind, orgEventSeverity, orgEvent, orgEventSubscribe, orgEventUnsubscribe, orgEventReplay, orgEventDropped, } from './realtime.js';
|
|
31
31
|
export type { ClientAuth, AuthOk, AuthError, ClientInvoke, ClientCancel, ClientPublish, CommandResult, ErrorFrame, ClientSubscribe, ClientUnsubscribe, SubscribeError, DatapointEvent, ResourceHealthEvent, ResourceHealthCleared, LiveSessionEndReason, LiveSessionEvent, OrgEventKind, OrgEventSeverity, OrgEvent, OrgEventSubscribe, OrgEventUnsubscribe, OrgEventReplay, OrgEventDropped, } from './realtime.js';
|
|
32
32
|
export { password, org, patchOrgResponse, sessionTokens, refreshRequest, WAITLIST_F1_TEXT_VERSION, waitlistRequest, USER_DISPLAY_NAME_MAX, orgAdminTier, fleetlessUser, fleetlessUserListResponse, createTeamInviteRequest, teamInvite, pendingTeamInvite, pendingTeamInviteListResponse, acceptTeamInviteRequest, patchFleetlessUserRequest, tierChangeRequest, mailStatus, tierRequiredDetails, passwordChangeRequest, idpIssuer, loginCode, totpCode, recoveryCode, recoveryCodesList, twoFactorSetupResponse, webauthnJson, webauthnOptionsResponse, developerPasskey, developerTwoFactor, createPasskeyRequest, createPasskeyResponse, renamePasskeyRequest, totpConfirmRequest, totpConfirmResponse, recoveryCodesResponse, authMeResponse, patchOrgRequest, patchAuthMeRequest, } from './identity.js';
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ export { DOCUMENT_ROOT_PATH, EXPOSURE_SECTIONS, schemaIssues, formatPath, splitF
|
|
|
22
22
|
export { rosGraphEntry, rosGraph, typeField, typeDefinition, parameterFieldsOf } from './introspection.js';
|
|
23
23
|
export { robot, patchRobotResponse, robotToken, createRobotRequest, createRobotResponse, robotTokenRotateResponse, jointStatePutRequest, jointStatePutResponse, exposureCounts, protocolStatusValue, robotListItem, robotListResponse, datapointValue, robotDetailResponse, configDraftResponse, putConfigDraftRequest, publishConfigResponse, configVersionsResponse, configVersionResponse, introspectionResponse, typesResponse, fetchTypesRequest, fetchTypesResponse, datapointDescriptor, datapointListResponse, robotDetailsDoc, putRobotDetailsResponse, putRobotDetailsRequest, invokeRequest, invokeResponse,
|
|
24
24
|
// Addressing.
|
|
25
|
-
cancelRequest, releaseLiveQuery, serviceCallResponse, invokeOrServiceResponse, publishRequest, jobResponse, robotJobsResponse, rateLimitDetails, exposure, exposureListResponse, SNAPSHOT_HEADERS, ASSET_UPLOAD_HEADERS, cameraDescriptor, cameraListResponse, liveSessionResponse, snapshotMetaResponse,
|
|
25
|
+
cancelRequest, recoverHeldJobRequest, recoverHeldJobResponse, releaseLiveQuery, serviceCallResponse, invokeOrServiceResponse, publishRequest, jobResponse, robotJobsResponse, rateLimitDetails, exposure, exposureListResponse, SNAPSHOT_HEADERS, ASSET_UPLOAD_HEADERS, cameraDescriptor, cameraListResponse, liveSessionResponse, snapshotMetaResponse,
|
|
26
26
|
// Retention, history, quotas.
|
|
27
27
|
historyQuery, historySamplesResponse, historyBucketsResponse, historyResponse, orgQuotas, orgQuotaUsage, orgQuotaUsageCounts, robotDeletionSummary, RESOURCE_HEALTH_STATES, resourceHealthState, resourceHealthListResponse, orgHealthQuery, robotDeleteQuery,
|
|
28
28
|
// Robot rename, slug rename.
|
package/dist/protocol.d.ts
CHANGED
|
@@ -942,6 +942,9 @@ export declare const bridgeState: z.ZodObject<{
|
|
|
942
942
|
online: z.ZodBoolean;
|
|
943
943
|
latency_ms: z.ZodNullable<z.ZodNumber>;
|
|
944
944
|
low_bandwidth: z.ZodBoolean;
|
|
945
|
+
health_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
946
|
+
job_query_unanswered: "job_query_unanswered";
|
|
947
|
+
}>>>;
|
|
945
948
|
}, z.core.$strip>;
|
|
946
949
|
export type BridgeState = z.infer<typeof bridgeState>;
|
|
947
950
|
/**
|
package/dist/protocol.js
CHANGED
|
@@ -706,6 +706,7 @@ export const bridgeState = z.object({
|
|
|
706
706
|
online: z.boolean(),
|
|
707
707
|
latency_ms: z.number().nonnegative().nullable(),
|
|
708
708
|
low_bandwidth: z.boolean().meta({ description: 'Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported.' }),
|
|
709
|
+
health_reason: z.enum(['job_query_unanswered']).nullable().optional().meta({ description: 'Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.' }),
|
|
709
710
|
});
|
|
710
711
|
/* ------------------------------------------------------------------------
|
|
711
712
|
* Cameras.
|
package/dist/rest.d.ts
CHANGED
|
@@ -117,6 +117,9 @@ export declare const robotListItem: z.ZodObject<{
|
|
|
117
117
|
online: z.ZodBoolean;
|
|
118
118
|
latency_ms: z.ZodNullable<z.ZodNumber>;
|
|
119
119
|
low_bandwidth: z.ZodBoolean;
|
|
120
|
+
health_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
121
|
+
job_query_unanswered: "job_query_unanswered";
|
|
122
|
+
}>>>;
|
|
120
123
|
}, z.core.$strip>;
|
|
121
124
|
exposes: z.ZodObject<{
|
|
122
125
|
datapoints: z.ZodNumber;
|
|
@@ -141,6 +144,9 @@ export declare const robotListResponse: z.ZodObject<{
|
|
|
141
144
|
online: z.ZodBoolean;
|
|
142
145
|
latency_ms: z.ZodNullable<z.ZodNumber>;
|
|
143
146
|
low_bandwidth: z.ZodBoolean;
|
|
147
|
+
health_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
148
|
+
job_query_unanswered: "job_query_unanswered";
|
|
149
|
+
}>>>;
|
|
144
150
|
}, z.core.$strip>;
|
|
145
151
|
exposes: z.ZodObject<{
|
|
146
152
|
datapoints: z.ZodNumber;
|
|
@@ -217,6 +223,9 @@ export declare const robotDetailResponse: z.ZodObject<{
|
|
|
217
223
|
online: z.ZodBoolean;
|
|
218
224
|
latency_ms: z.ZodNullable<z.ZodNumber>;
|
|
219
225
|
low_bandwidth: z.ZodBoolean;
|
|
226
|
+
health_reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
227
|
+
job_query_unanswered: "job_query_unanswered";
|
|
228
|
+
}>>>;
|
|
220
229
|
}, z.core.$strip>;
|
|
221
230
|
exposes: z.ZodObject<{
|
|
222
231
|
datapoints: z.ZodNumber;
|
|
@@ -865,6 +874,49 @@ export declare const cancelRequest: z.ZodObject<{
|
|
|
865
874
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
866
875
|
}, z.core.$strict>;
|
|
867
876
|
export type CancelRequest = z.infer<typeof cancelRequest>;
|
|
877
|
+
/**
|
|
878
|
+
* Release one held job only after a human has physically stopped or isolated
|
|
879
|
+
* the robot and checked that it cannot move. This is an Owner operation, not
|
|
880
|
+
* an app command: a normal cancel asks the bridge to stop and cannot stand in
|
|
881
|
+
* for this assertion when the bridge is silent. The cloud cannot sense the
|
|
882
|
+
* physical stop from this field; it records the Owner's statement and reason.
|
|
883
|
+
*/
|
|
884
|
+
export declare const recoverHeldJobRequest: z.ZodObject<{
|
|
885
|
+
job_id: z.ZodUUID;
|
|
886
|
+
verified_stopped: z.ZodLiteral<true>;
|
|
887
|
+
reason: z.ZodString;
|
|
888
|
+
}, z.core.$strict>;
|
|
889
|
+
export type RecoverHeldJobRequest = z.infer<typeof recoverHeldJobRequest>;
|
|
890
|
+
/** The exact job settled to `lost` by the audited recovery. */
|
|
891
|
+
export declare const recoverHeldJobResponse: z.ZodObject<{
|
|
892
|
+
job: z.ZodObject<{
|
|
893
|
+
id: z.ZodUUID;
|
|
894
|
+
robot_id: z.ZodUUID;
|
|
895
|
+
slug: z.ZodString;
|
|
896
|
+
state: z.ZodEnum<{
|
|
897
|
+
unknown: "unknown";
|
|
898
|
+
failed: "failed";
|
|
899
|
+
running: "running";
|
|
900
|
+
succeeded: "succeeded";
|
|
901
|
+
cancelled: "cancelled";
|
|
902
|
+
lost: "lost";
|
|
903
|
+
}>;
|
|
904
|
+
origin: z.ZodEnum<{
|
|
905
|
+
fleetless: "fleetless";
|
|
906
|
+
external: "external";
|
|
907
|
+
}>;
|
|
908
|
+
started_at: z.ZodISODateTime;
|
|
909
|
+
updated_at: z.ZodISODateTime;
|
|
910
|
+
seq: z.ZodNumber;
|
|
911
|
+
result: z.ZodNullable<z.ZodUnknown>;
|
|
912
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
913
|
+
code: z.ZodString;
|
|
914
|
+
message: z.ZodString;
|
|
915
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
916
|
+
}, z.core.$strip>>;
|
|
917
|
+
}, z.core.$strip>;
|
|
918
|
+
}, z.core.$strip>;
|
|
919
|
+
export type RecoverHeldJobResponse = z.infer<typeof recoverHeldJobResponse>;
|
|
868
920
|
/**
|
|
869
921
|
* The query of a live release: `DELETE .../live?session_id=<uuid>`.
|
|
870
922
|
*
|
package/dist/rest.js
CHANGED
|
@@ -333,6 +333,7 @@ export const putRobotDetailsRequest = z.object({ details: robotDetailsDoc });
|
|
|
333
333
|
* | `POST /api/robots/:id/jobs/:slug` | `invokeRequest` | `invokeResponse` (action) or `serviceCallResponse` (service) |
|
|
334
334
|
* | `GET /api/robots/:id/jobs/:slug` | — | `jobResponse` (the current job, or null) |
|
|
335
335
|
* | `POST /api/robots/:id/jobs/:slug/cancel` | `cancelRequest` | `jobResponse` |
|
|
336
|
+
* | `POST /api/robots/:id/jobs/:slug/recover` | `recoverHeldJobRequest` | `recoverHeldJobResponse` |
|
|
336
337
|
* | `POST /api/robots/:id/publishers/:slug` | `publishRequest`| 204 |
|
|
337
338
|
* | `GET /api/robots/:id/exposures` | — | `exposureListResponse` |
|
|
338
339
|
*
|
|
@@ -418,6 +419,20 @@ export const cancelRequest = z.object({
|
|
|
418
419
|
description: 'The one job to stop. Absent or `null` cancels whatever is currently running on the slug, which is what every caller written before this field existed means. Unknown keys are refused rather than stripped, so a misspelling cannot silently become the slug-wide cancel.',
|
|
419
420
|
}),
|
|
420
421
|
}).strict();
|
|
422
|
+
/**
|
|
423
|
+
* Release one held job only after a human has physically stopped or isolated
|
|
424
|
+
* the robot and checked that it cannot move. This is an Owner operation, not
|
|
425
|
+
* an app command: a normal cancel asks the bridge to stop and cannot stand in
|
|
426
|
+
* for this assertion when the bridge is silent. The cloud cannot sense the
|
|
427
|
+
* physical stop from this field; it records the Owner's statement and reason.
|
|
428
|
+
*/
|
|
429
|
+
export const recoverHeldJobRequest = z.object({
|
|
430
|
+
job_id: z.uuid().meta({ description: 'The exact held job id read from the robot job state; another job must never be released by a stale request.' }),
|
|
431
|
+
verified_stopped: z.literal(true).meta({ description: 'The Owner confirms a physical stop and safety check; this is not a cloud sensor reading.' }),
|
|
432
|
+
reason: z.string().trim().min(10).max(500).meta({ description: 'The Owner\'s reason and safety-check record, 10–500 characters after trimming; retained in the audit trail.' }),
|
|
433
|
+
}).strict();
|
|
434
|
+
/** The exact job settled to `lost` by the audited recovery. */
|
|
435
|
+
export const recoverHeldJobResponse = z.object({ job });
|
|
421
436
|
/**
|
|
422
437
|
* The query of a live release: `DELETE .../live?session_id=<uuid>`.
|
|
423
438
|
*
|
package/dist/routes.js
CHANGED
|
@@ -16,7 +16,7 @@ import { authorizationServerMetadata, dynamicClientRegistrationRequest, dynamicC
|
|
|
16
16
|
import { adminPlanChangeRequest, orgPlan, planChangeRequest } from './plans.js';
|
|
17
17
|
import { supportRenewFailRequest, supportTokenRequest, supportTokenResponse } from './support.js';
|
|
18
18
|
import { purchaseIntentLookupQuery, purchaseIntentConfirmRequest, purchaseIntentResponse, invoicePayRequest, billingCancelRequest, billingChangeRequest, billingChangeResponse, billingDetailsUpdate, billingDocumentDetail, billingDocumentFileQuery, billingDocumentList, billingView, chargePayRequest, checkoutRequest, checkoutResponse, checkoutStatus, paymentMethodChangeRequest, vatIdCheckRequest, vatIdCheckResponse, } from './billing.js';
|
|
19
|
-
import { cameraListResponse, cancelRequest, configDraftResponse, configVersionResponse, configVersionsResponse, createRobotRequest, createRobotResponse, datapointListResponse, datapointValue, exposureListResponse, fetchTypesRequest, fetchTypesResponse, historyQuery, historyResponse, introspectionResponse, invokeOrServiceResponse, invokeRequest, jobResponse, liveSessionResponse, orgHealthQuery, orgLatencyQuery, orgLatencyResponse, orgQuotaUsage, orgUsageQuery, orgUsageResponse, patchRobotRequest, patchRobotResponse, publishConfigResponse, publishRequest, putConfigDraftRequest, putRobotDetailsRequest, putRobotDetailsResponse, robotTokenRotateResponse, jointStatePutRequest, jointStatePutResponse, releaseLiveQuery, renameSlugRequest, renameSlugResponse, robotDeleteQuery, resourceHealthListResponse, robotDeletionSummary, robotDetailResponse, robotJobsResponse, robotListResponse, slugUsageResponse, snapshotMetaResponse, typesResponse, } from './rest.js';
|
|
19
|
+
import { cameraListResponse, cancelRequest, recoverHeldJobRequest, recoverHeldJobResponse, configDraftResponse, configVersionResponse, configVersionsResponse, createRobotRequest, createRobotResponse, datapointListResponse, datapointValue, exposureListResponse, fetchTypesRequest, fetchTypesResponse, historyQuery, historyResponse, introspectionResponse, invokeOrServiceResponse, invokeRequest, jobResponse, liveSessionResponse, orgHealthQuery, orgLatencyQuery, orgLatencyResponse, orgQuotaUsage, orgUsageQuery, orgUsageResponse, patchRobotRequest, patchRobotResponse, publishConfigResponse, publishRequest, putConfigDraftRequest, putRobotDetailsRequest, putRobotDetailsResponse, robotTokenRotateResponse, jointStatePutRequest, jointStatePutResponse, releaseLiveQuery, renameSlugRequest, renameSlugResponse, robotDeleteQuery, resourceHealthListResponse, robotDeletionSummary, robotDetailResponse, robotJobsResponse, robotListResponse, slugUsageResponse, snapshotMetaResponse, typesResponse, } from './rest.js';
|
|
20
20
|
export const ROUTE_SECTIONS = [
|
|
21
21
|
{ id: 'health', title: 'Health' },
|
|
22
22
|
{ id: 'developer-auth', title: 'Developer auth' },
|
|
@@ -2613,6 +2613,19 @@ export const ROUTES = [
|
|
|
2613
2613
|
'`JOB_HEARTBEAT_TIMEOUT_MS` is `504 bridge_timeout`; a cancel the bridge could not send at all is `502` carrying the bridge\'s own ' +
|
|
2614
2614
|
'code (`unknown_slug`, `action_server_lost`, `internal_error`).',
|
|
2615
2615
|
},
|
|
2616
|
+
{
|
|
2617
|
+
method: 'POST', path: '/api/robots/:id/jobs/:slug/recover', section: 'commands',
|
|
2618
|
+
summary: 'Releases one held job after an Owner verifies the robot is stopped.',
|
|
2619
|
+
audience: 'developer', auth: 'developer', rateLimited: false, ownerTier: true, status: 200,
|
|
2620
|
+
params: [
|
|
2621
|
+
{ name: 'id', description: 'The robot uuid in the authenticated Owner\'s organization.' },
|
|
2622
|
+
{ name: 'slug', description: 'The action slug holding the exact job named in the body.' },
|
|
2623
|
+
],
|
|
2624
|
+
query: null, request: recoverHeldJobRequest, response: recoverHeldJobResponse,
|
|
2625
|
+
errors: [...DEVELOPER_GUARD, 'tier_required', 'support_forbidden', 'invalid_uuid', 'not_found', 'validation_error', 'job_state_conflict', 'internal_error'],
|
|
2626
|
+
transport: 'http',
|
|
2627
|
+
notes: 'Use only after physically stopping or isolating the robot and checking that it cannot move. Read the held job id, then submit that exact id with a reason and `verified_stopped: true`. The assertion is a human safety check, not a sensor reading. The cloud records the Owner and reason in the audit trail and returns the job settled to `lost`. App users, server keys, other developers and support sessions cannot use this route. A connected bridge or a changed job returns `409 job_state_conflict`; a normal cancel is not recovery and never releases an uncertain job.',
|
|
2628
|
+
},
|
|
2616
2629
|
{
|
|
2617
2630
|
method: 'POST', path: '/api/robots/:id/publishers/:slug', section: 'commands',
|
|
2618
2631
|
summary: 'Publishes one message onto a configured publisher.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fleetless/contracts",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.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",
|