@tempoxyz/mercator 0.0.549 → 0.0.552
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.
|
@@ -65,7 +65,7 @@ request or expose credentials.
|
|
|
65
65
|
6. **Listen for completion.** Persist the returned `jobId` immediately; it is the only status and
|
|
66
66
|
resumption capability. Poll `get_job` with bounded backoff. Its default inline mode preserves the
|
|
67
67
|
complete cached result. For potentially large jobs, request summary mode and call
|
|
68
|
-
`get_job_details`
|
|
68
|
+
`get_job_details` with both `job_id` and `node_id` for each needed ID in `result_node_ids`; use `result_pointer` to retrieve one field
|
|
69
69
|
from a large node payload. `ready:false` means the durable job is still
|
|
70
70
|
pending or running. `ready:true` is terminal: return either its cached results or stable `error`
|
|
71
71
|
to the user. A client timeout or disconnect does not cancel the job. Mercator has no job webhook
|
|
@@ -107,6 +107,16 @@ Persist the job ID and start a status listener with:
|
|
|
107
107
|
- Request timeout or lost response: call `create_job` with the identical plan and idempotency key to
|
|
108
108
|
recover the job, then listen on its returned job ID.
|
|
109
109
|
|
|
110
|
+
In summary mode (`"result_mode":"summary"`), an empty `job.result` means payloads were omitted.
|
|
111
|
+
Use each returned `result_node_ids` value with `get_job_details`:
|
|
112
|
+
|
|
113
|
+
```json
|
|
114
|
+
{"job_id":"4d9ea616-4223-4b9d-bd19-2d3f74c9fa4c","node_id":"search1"}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Use the actual returned node ID. Alternatively, call `get_job` with `result_mode: "inline"`.
|
|
118
|
+
Both reads use cached outputs and do not charge again. Failed jobs may retain successful outputs.
|
|
119
|
+
|
|
110
120
|
Do not model completion as a webhook or SSE subscription: the public status interface is polling.
|
|
111
121
|
|
|
112
122
|
## Existing local wallet fallback
|