@moxt-ai/mobius-sdk 0.0.142 → 0.0.143
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/README.md +316 -19
- package/dist/protocol/index.d.ts +1 -1
- package/dist/protocol/index.d.ts.map +1 -1
- package/dist/protocol/index.js.map +1 -1
- package/dist/protocol/runtime/liveness.d.ts +4 -16
- package/dist/protocol/runtime/liveness.d.ts.map +1 -1
- package/dist/protocol/runtime/liveness.js +6 -10
- package/dist/protocol/runtime/liveness.js.map +1 -1
- package/dist/protocol/transport/daemon-transport.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ environment where their projects and tools already live.
|
|
|
17
17
|
|
|
18
18
|
**You build the product experience. Mobius connects it to the Agent.**
|
|
19
19
|
|
|
20
|
-
[Start integrating](
|
|
20
|
+
[Start integrating](#start-building)
|
|
21
21
|
· [See a real application: Morty](https://github.com/moxt-ai/morty)
|
|
22
22
|
|
|
23
23
|
## Why use Mobius?
|
|
@@ -64,8 +64,6 @@ Provision a Project, pair a machine with an installed and authenticated Agent,
|
|
|
64
64
|
then connect your application. Installing this package is the first step;
|
|
65
65
|
the Agent runs on the paired machine.
|
|
66
66
|
|
|
67
|
-
**[Follow the integration guide →](https://github.com/moxt-ai/mobius/blob/main/docs/GUIDE.md#start-with-the-sdk)**
|
|
68
|
-
|
|
69
67
|
### Make your first SDK request
|
|
70
68
|
|
|
71
69
|
From the [Platform app](https://mobius.moxt.ai/), obtain an AppCredential authorized
|
|
@@ -129,11 +127,172 @@ cd packages/mini-client
|
|
|
129
127
|
pnpm exec tsx ./index.ts --help
|
|
130
128
|
```
|
|
131
129
|
|
|
132
|
-
Use the Node and pnpm versions pinned by the repository.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
130
|
+
Use the Node and pnpm versions pinned by the repository. Install and authenticate
|
|
131
|
+
at least one supported Agent on the machine that will run the example.
|
|
132
|
+
|
|
133
|
+
<details>
|
|
134
|
+
<summary>Pair a Runtime, create a Session, send a prompt, and clean up</summary>
|
|
135
|
+
|
|
136
|
+
Start the local Platform from a second terminal at the repository root:
|
|
137
|
+
|
|
138
|
+
```sh
|
|
139
|
+
pnpm dev
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Provision an App and AppCredential in that local Platform before continuing.
|
|
143
|
+
The default endpoint is `http://127.0.0.1:8787`. Use the provisioning functions
|
|
144
|
+
linked below with your deployment's configured OIDC identity. For a different
|
|
145
|
+
endpoint, add `--endpoint=https://your-relay.example` to `create`.
|
|
146
|
+
|
|
147
|
+
Run the remaining commands from `packages/mini-client`. Its state directory
|
|
148
|
+
holds credentials and identifiers for this example; keep it private and do not commit it.
|
|
149
|
+
|
|
150
|
+
#### Create and pair an isolated Runtime
|
|
151
|
+
|
|
152
|
+
Keep secrets out of shell history where possible:
|
|
153
|
+
|
|
154
|
+
```sh
|
|
155
|
+
read -r MOBIUS_TEST_APP_ID
|
|
156
|
+
read -rs MOBIUS_TEST_APP_SECRET
|
|
157
|
+
printf '\n'
|
|
158
|
+
export MOBIUS_TEST_APP_ID MOBIUS_TEST_APP_SECRET
|
|
159
|
+
|
|
160
|
+
MOBIUS_MINI_CREATE="$(pnpm exec tsx ./index.ts \
|
|
161
|
+
create \
|
|
162
|
+
--app-id="$MOBIUS_TEST_APP_ID" \
|
|
163
|
+
--app-secret="$MOBIUS_TEST_APP_SECRET")"
|
|
164
|
+
printf '%s\n' "$MOBIUS_MINI_CREATE"
|
|
165
|
+
export MOBIUS_MINI_STATE="$(printf '%s' "$MOBIUS_MINI_CREATE" | node -e \
|
|
166
|
+
'let value=""; process.stdin.on("data", chunk => value += chunk).on("end", () => process.stdout.write(JSON.parse(value).stateDir))')"
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
`create` pairs an isolated Runtime and waits until it is online. It prints the generated `stateDir` and identifiers, but never the credential. Pass `--state-dir` only for a directory owned by this verification workflow.
|
|
170
|
+
|
|
171
|
+
Inspect the Runtime and available Agents:
|
|
172
|
+
|
|
173
|
+
```sh
|
|
174
|
+
pnpm exec tsx ./index.ts --state-dir="$MOBIUS_MINI_STATE" status
|
|
175
|
+
pnpm exec tsx ./index.ts --state-dir="$MOBIUS_MINI_STATE" list-runtimes
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
#### Create and configure a Session
|
|
179
|
+
|
|
180
|
+
When the Runtime advertises more than one Agent, pass the selected Agent ID:
|
|
181
|
+
|
|
182
|
+
```sh
|
|
183
|
+
pnpm exec tsx ./index.ts \
|
|
184
|
+
--state-dir="$MOBIUS_MINI_STATE" \
|
|
185
|
+
create-session \
|
|
186
|
+
--agent=codex \
|
|
187
|
+
--title="Mini-client verification"
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
Save the returned `sessionId`, then inspect and update a setting offered in `configOptions`:
|
|
191
|
+
|
|
192
|
+
```sh
|
|
193
|
+
export MOBIUS_TEST_SESSION='<sessionId>'
|
|
194
|
+
|
|
195
|
+
pnpm exec tsx ./index.ts \
|
|
196
|
+
--state-dir="$MOBIUS_MINI_STATE" \
|
|
197
|
+
get-agent-configuration \
|
|
198
|
+
--session="$MOBIUS_TEST_SESSION"
|
|
199
|
+
|
|
200
|
+
pnpm exec tsx ./index.ts \
|
|
201
|
+
--state-dir="$MOBIUS_MINI_STATE" \
|
|
202
|
+
update-agent-configuration \
|
|
203
|
+
--session="$MOBIUS_TEST_SESSION" \
|
|
204
|
+
--config-id='<offered-config-id>' \
|
|
205
|
+
--value='<offered-value>'
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
Boolean settings accept only `true` or `false`. Select settings accept only values advertised by the Agent.
|
|
209
|
+
|
|
210
|
+
#### Prompt, steer, and reconcile messages
|
|
211
|
+
|
|
212
|
+
Follow the Session in one terminal to see available history and new live events. Live delivery is best effort; disconnects or restarts can leave gaps.
|
|
213
|
+
|
|
214
|
+
```sh
|
|
215
|
+
pnpm exec tsx ./index.ts \
|
|
216
|
+
--state-dir="$MOBIUS_MINI_STATE" \
|
|
217
|
+
get \
|
|
218
|
+
--session="$MOBIUS_TEST_SESSION" \
|
|
219
|
+
--follow
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Before the first prompt, `--follow` watches the Session until you press Ctrl-C.
|
|
223
|
+
After a prompt has been submitted through this mini-client, it follows that
|
|
224
|
+
command and exits when its terminal outcome is observed. It also checks the
|
|
225
|
+
Runtime's execution receipt when connecting, so an already completed command
|
|
226
|
+
does not require a new live completion event. Older Runtimes that do not return
|
|
227
|
+
command receipts may require Ctrl-C if their completion event was missed.
|
|
228
|
+
|
|
229
|
+
In another terminal, start a Turn:
|
|
230
|
+
|
|
231
|
+
```sh
|
|
232
|
+
pnpm exec tsx ./index.ts \
|
|
233
|
+
--state-dir="$MOBIUS_MINI_STATE" \
|
|
234
|
+
send-prompt \
|
|
235
|
+
--session="$MOBIUS_TEST_SESSION" \
|
|
236
|
+
--prompt='Write a short checklist and keep working until it is complete.'
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
While that Turn is running, steer it:
|
|
240
|
+
|
|
241
|
+
```sh
|
|
242
|
+
pnpm exec tsx ./index.ts \
|
|
243
|
+
--state-dir="$MOBIUS_MINI_STATE" \
|
|
244
|
+
steer \
|
|
245
|
+
--session="$MOBIUS_TEST_SESSION" \
|
|
246
|
+
--prompt='Make the final checklist exactly three items.'
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
To exercise queueing instead, submit with `--disposition=queue`. Queueing and steering require an active Turn submitted through this mini-client.
|
|
250
|
+
|
|
251
|
+
After completion, read a finite reconciled snapshot and confirm that the original prompt, steering prompt, and Agent result appear once:
|
|
252
|
+
|
|
253
|
+
```sh
|
|
254
|
+
pnpm exec tsx ./index.ts \
|
|
255
|
+
--state-dir="$MOBIUS_MINI_STATE" \
|
|
256
|
+
get \
|
|
257
|
+
--session="$MOBIUS_TEST_SESSION"
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
Other useful operations are:
|
|
261
|
+
|
|
262
|
+
```sh
|
|
263
|
+
pnpm exec tsx ./index.ts --state-dir="$MOBIUS_MINI_STATE" compact --session="$MOBIUS_TEST_SESSION"
|
|
264
|
+
pnpm exec tsx ./index.ts --state-dir="$MOBIUS_MINI_STATE" list-sessions
|
|
265
|
+
pnpm exec tsx ./index.ts --state-dir="$MOBIUS_MINI_STATE" cancel-turn --session="$MOBIUS_TEST_SESSION" --turn='<turnId>'
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
`compact` submits the Agent's advertised compact command. If the selected Agent does not offer compaction, it exits with `compact_unavailable` without sending a prompt.
|
|
269
|
+
|
|
270
|
+
#### Stop, resume, and clean up
|
|
271
|
+
|
|
272
|
+
`stop` addresses the detached Runtime by its opaque Connection ID; it does not signal a recorded PID:
|
|
273
|
+
|
|
274
|
+
```sh
|
|
275
|
+
pnpm exec tsx ./index.ts --state-dir="$MOBIUS_MINI_STATE" stop
|
|
276
|
+
pnpm exec tsx ./index.ts --state-dir="$MOBIUS_MINI_STATE" status
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
Resume the same saved Runtime when needed:
|
|
280
|
+
|
|
281
|
+
```sh
|
|
282
|
+
pnpm exec tsx ./index.ts --state-dir="$MOBIUS_MINI_STATE" start
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
At the end, stop it and remove the isolated state:
|
|
286
|
+
|
|
287
|
+
```sh
|
|
288
|
+
pnpm exec tsx ./index.ts --state-dir="$MOBIUS_MINI_STATE" stop
|
|
289
|
+
MOBIUS_STATE_DIRECTORY="$MOBIUS_MINI_STATE/runtime" pnpm --dir ../.. mobius quit
|
|
290
|
+
rm -rf -- "$MOBIUS_MINI_STATE"
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
Only remove a state directory created specifically for this workflow.
|
|
294
|
+
|
|
295
|
+
</details>
|
|
137
296
|
|
|
138
297
|
For programmatic provisioning, see
|
|
139
298
|
[`moxt-server.ts`](https://github.com/moxt-ai/mobius/blob/main/packages/mobius-sdk/examples/moxt-server.ts).
|
|
@@ -150,15 +309,42 @@ implementation as shown by its function parameters.
|
|
|
150
309
|
| App and Project provisioning | `@moxt-ai/mobius-sdk/platform` |
|
|
151
310
|
|
|
152
311
|
Keep server credentials on your backend. Give browser clients credentials scoped
|
|
153
|
-
to their authorized access
|
|
312
|
+
to their authorized access.
|
|
154
313
|
|
|
155
314
|
## History and reconnects
|
|
156
315
|
|
|
157
|
-
Native history comes from the connected machine
|
|
158
|
-
cloud Recording
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
316
|
+
Native history comes from the connected machine and what its Agent has saved.
|
|
317
|
+
Optional cloud Recording can make recorded history available while the machine
|
|
318
|
+
is offline, according to the configured policy. Clients must follow that source
|
|
319
|
+
instead of assuming history is always local or always retained.
|
|
320
|
+
|
|
321
|
+
Multiple clients can watch the same conversation, including instructions submitted
|
|
322
|
+
elsewhere. Publishing continues without viewers. Ordinary updates carry changed
|
|
323
|
+
content rather than repeated full-turn snapshots; joining or reconnecting may
|
|
324
|
+
require a full current-turn view.
|
|
325
|
+
|
|
326
|
+
Live output is best effort. Disconnected or overloaded viewers can miss events,
|
|
327
|
+
and daemon or Relay restarts can lose in-flight messages. Clients reconcile from
|
|
328
|
+
available current-turn information, native history, or Recording. Reconnecting
|
|
329
|
+
cannot guarantee recovery of every lost event. Use the
|
|
330
|
+
[prompt identity contract](https://github.com/moxt-ai/mobius/blob/main/docs/protocol.md#prompt-identity-across-http-and-daemon-apis)
|
|
331
|
+
to target cancellation and steering when the original submission response is unavailable.
|
|
332
|
+
|
|
333
|
+
Pairing and Session metadata may remain on disk, and Agents own their native history.
|
|
334
|
+
Current-turn content and pending work remain in daemon memory; restarting the daemon
|
|
335
|
+
loses them and does not resume running work or queued prompts. Disabling Recording
|
|
336
|
+
does not erase native Agent history or local metadata.
|
|
337
|
+
|
|
338
|
+
Recording never blocks live output. Slow writes, failures, or restarts can leave
|
|
339
|
+
gaps; failed writes are not retried. It is not a lossless audit archive and does
|
|
340
|
+
not keep an offline Agent running.
|
|
341
|
+
|
|
342
|
+
Images are fetched from the connected machine when needed, so large encoded images
|
|
343
|
+
do not delay the conversation. Temporary media files are a disposable cache rather
|
|
344
|
+
than saved conversations. Eviction or a restart may make them unavailable; recovery
|
|
345
|
+
depends on the connected machine and what native history retained. See
|
|
346
|
+
[persistence and recovery constraints](https://github.com/moxt-ai/mobius/blob/main/docs/CONTRIBUTING.md#persistence-and-recovery-constraints)
|
|
347
|
+
and [image delivery constraints](https://github.com/moxt-ai/mobius/blob/main/docs/CONTRIBUTING.md#image-delivery-constraints).
|
|
162
348
|
|
|
163
349
|
## Connection and provisioning notes
|
|
164
350
|
|
|
@@ -177,8 +363,119 @@ Server clients use `HttpTransport` by default. A shared `WsTransport` can tunnel
|
|
|
177
363
|
HTTP requests through `/mobius/api/v1/transport`; its owner closes it when finished.
|
|
178
364
|
The channel client manages its own WebSocket connection.
|
|
179
365
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
366
|
+
## AppCredential issuance and recovery
|
|
367
|
+
|
|
368
|
+
`createApp`, `issueAppCredential`, and `rotateAppCredential` return new secrets once
|
|
369
|
+
without idempotent result replay. Save successful secrets before continuing.
|
|
370
|
+
A timeout or lost response can happen after a write committed; reconcile the
|
|
371
|
+
outcome before retrying.
|
|
372
|
+
|
|
373
|
+
<details>
|
|
374
|
+
<summary>Retry contracts, rotation, and recovery of an uncertain outcome</summary>
|
|
375
|
+
|
|
376
|
+
The Platform developer client's `createApp`, `issueAppCredential`, and
|
|
377
|
+
`rotateAppCredential` operations return a new secret only in their successful
|
|
378
|
+
response. "Returned once" describes secret delivery, not a single-use credential:
|
|
379
|
+
the credential remains usable until revoked, its rotation overlap ends, or its App
|
|
380
|
+
or Tenant becomes unavailable. The Platform stores a digest, so listing Apps or
|
|
381
|
+
credentials cannot recover the secret.
|
|
382
|
+
|
|
383
|
+
These operations do not provide idempotent result replay. The SDK does not retry
|
|
384
|
+
them automatically; custom transports, proxies, and application retry policies must not blindly replay
|
|
385
|
+
them either. `createProject` has its own idempotency contract, which does not extend
|
|
386
|
+
to the App or credential operations around it.
|
|
387
|
+
|
|
388
|
+
| Operation | Successful result | Repeating the same request |
|
|
389
|
+
| --- | --- | --- |
|
|
390
|
+
| `createApp` | Creates an App and its default credential, returning the secret. | The Tenant's unique display-name constraint rejects a same-name create while that name is occupied; it does not replay the first result. Renaming the existing App or using a different name can allow another App to be created. |
|
|
391
|
+
| `issueAppCredential` | Creates a credential with the requested permissions and Project scope, returning the secret. | Can create another credential. The earlier credential is not automatically invalidated. |
|
|
392
|
+
| `rotateAppCredential` | Creates a replacement with the source credential's permissions and scope and starts the source's requested overlap. | An already rotated or revoked source returns `409 app_credential_rotation_conflict`; it does not return the replacement secret. |
|
|
393
|
+
|
|
394
|
+
A successful response means the operation committed. Save the secret and its
|
|
395
|
+
credential ID to your secret store before starting unrelated work. If that local
|
|
396
|
+
save fails but you still have the response, retry saving that same result. Creating
|
|
397
|
+
another credential cannot recover the first secret.
|
|
398
|
+
|
|
399
|
+
A connection failure, timeout, cancellation after dispatch, or unusable response
|
|
400
|
+
can occur after the write committed. An error, including a server error, is not
|
|
401
|
+
proof that nothing was written. Cancelling a request does not guarantee rollback.
|
|
402
|
+
Inspect the stored result before deciding on another write; an immediate list
|
|
403
|
+
without a new record also cannot prove an in-flight request will never commit.
|
|
404
|
+
|
|
405
|
+
#### Recovering an unknown outcome
|
|
406
|
+
|
|
407
|
+
Use an authorized `MobiusPlatformDeveloperClient` for reconciliation. It can list
|
|
408
|
+
and administer credentials without knowing their secrets. Coordinate App creation
|
|
409
|
+
within a Tenant and credential administration within an App, retaining known
|
|
410
|
+
resource IDs and the results you have already saved.
|
|
411
|
+
|
|
412
|
+
For creation and issuance, there is no request identifier that reliably associates
|
|
413
|
+
a lost response with a record. `listApps`, `listAppCredentials`, and
|
|
414
|
+
`listAuditEvents` can help an operator identify committed work. An App name is unique
|
|
415
|
+
within its Tenant, but is mutable and does not identify which caller created it;
|
|
416
|
+
timestamps and matching credential scopes are not request identities either. If
|
|
417
|
+
other writers or in-flight requests make ownership uncertain, stop automatic recovery and
|
|
418
|
+
reconcile with the operators involved. Do not revoke or rotate an arbitrary new
|
|
419
|
+
credential or assume a missing list entry makes a retry safe.
|
|
420
|
+
|
|
421
|
+
Confirm an unused credential with the integration owners and their deployed
|
|
422
|
+
configuration before revoking it. Usage timestamps are best-effort observations,
|
|
423
|
+
not a complete audit trail. A missing or old observation does not prove inactivity;
|
|
424
|
+
the legacy last-use timestamp can also contain the issuance time before any use.
|
|
425
|
+
Do not use these values alone to decide that a credential is safe to revoke.
|
|
426
|
+
|
|
427
|
+
- **Lost `createApp` response:** after confirming which App was created, use its
|
|
428
|
+
`defaultCredentialId` and `listAppCredentials` to locate the credential. Rotate
|
|
429
|
+
that credential to obtain and save a replacement secret. If it was already
|
|
430
|
+
rotated, inspect the replacement chain first. Changing the requested name to get
|
|
431
|
+
past a failed create can leave the original App and credential behind.
|
|
432
|
+
- **Lost `issueAppCredential` response:** after identifying the issued credential,
|
|
433
|
+
rotate it and save the replacement secret. Rotation preserves its permissions and
|
|
434
|
+
Project scope. Alternatively, revoke a confirmed unused credential before
|
|
435
|
+
deliberately issuing a new one. Reissuing alone does not clean up the first one.
|
|
436
|
+
- **Lost `rotateAppCredential` response:** list the App's credentials and inspect
|
|
437
|
+
the known source's `replacedByCredentialId`. A replacement link establishes that
|
|
438
|
+
rotation committed, but does not identify which concurrent caller won. If the
|
|
439
|
+
replacement secret was lost, coordinate with other administrators, follow any
|
|
440
|
+
further replacement links, and rotate the confirmed active replacement once to
|
|
441
|
+
obtain a new secret. A revoked credential has no recoverable secret. A conflict
|
|
442
|
+
without a replacement link is not proof of successful rotation; investigate
|
|
443
|
+
revocation or concurrent work before issuing a new credential.
|
|
444
|
+
|
|
445
|
+
Use zero overlap when replacing a confirmed lost, unused secret so that credential
|
|
446
|
+
immediately stops authorizing new requests. Earlier credentials in a rotation chain
|
|
447
|
+
retain their own overlap deadlines; rotating the latest replacement does not
|
|
448
|
+
shorten those deadlines. After saving the usable replacement, explicitly revoke
|
|
449
|
+
earlier credentials if they should stop working sooner, coordinating any users
|
|
450
|
+
still relying on them. If the recovery response is also lost, reconcile again
|
|
451
|
+
instead of looping through blind writes.
|
|
452
|
+
|
|
453
|
+
</details>
|
|
454
|
+
|
|
455
|
+
## Manage local Runtime connections
|
|
456
|
+
|
|
457
|
+
Pairing starts or reuses one detached Mobius manager for the current user. If the
|
|
458
|
+
installed CLI version changes, the next `mobius pair` or `mobius start` command
|
|
459
|
+
stops the old manager and launches the matching version.
|
|
460
|
+
|
|
461
|
+
With the CLI installed, run `mobius start` without options to ensure the detached
|
|
462
|
+
daemon is running. Manage saved Runtime pairings by their local Connection ID:
|
|
463
|
+
|
|
464
|
+
```sh
|
|
465
|
+
mobius pair list
|
|
466
|
+
mobius pair stop --connection <connection-id>
|
|
467
|
+
mobius start
|
|
468
|
+
mobius start --connection <connection-id>
|
|
469
|
+
mobius pair remove --connection <connection-id>
|
|
470
|
+
mobius quit
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
Stopping preserves the pairing and its `stopped` status across manager restarts.
|
|
474
|
+
Starting resumes the same Connection ID; removing deletes its local credential.
|
|
475
|
+
`mobius pair list` shows the Connection ID, Platform App ID, Runtime ID, workspace,
|
|
476
|
+
and current status. Channel IDs are internal Relay routing identities, not local
|
|
477
|
+
lifecycle selectors.
|
|
478
|
+
|
|
479
|
+
For machine-readable output, use `mobius pair list --output-json=/path/to/existing-file.json`.
|
|
480
|
+
The CLI refuses to create the target; command help and executable scenarios define
|
|
481
|
+
its output contract.
|
package/dist/protocol/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export type { ProjectLocationHint } from "./platform/project-location.ts";
|
|
|
3
3
|
export { isProjectLocationHint, PROJECT_LOCATION_HINTS, } from "./platform/project-location.ts";
|
|
4
4
|
export type { RuntimeDiagnosticsRequest, RuntimeDiagnosticsResult, } from "./runtime/diagnostics.ts";
|
|
5
5
|
export { decodeRuntimeDiagnosticsRequest, decodeRuntimeDiagnosticsResult, encodeRuntimeDiagnosticsRequest, encodeRuntimeDiagnosticsResult, } from "./runtime/diagnostics.ts";
|
|
6
|
-
export type {
|
|
6
|
+
export type { RuntimeHeartbeatAckEvent, RuntimeHeartbeatEvent, RuntimeLivenessReadyEvent, RuntimePingCommand, RuntimePongEvent, RuntimeStatusEvent, } from "./runtime/liveness.ts";
|
|
7
7
|
export { decodeRuntimeHeartbeatAckEvent, decodeRuntimeHeartbeatEvent, decodeRuntimeLivenessReadyEvent, decodeRuntimePingCommand, decodeRuntimePongEvent, decodeRuntimeStatusEvent, encodeRuntimeHeartbeatAckEvent, encodeRuntimeHeartbeatEvent, encodeRuntimeLivenessReadyEvent, encodeRuntimePingCommand, encodeRuntimePongEvent, encodeRuntimeStatusEvent, RUNTIME_HEARTBEAT_ACK_KIND, RUNTIME_HEARTBEAT_ACK_MESSAGE, RUNTIME_HEARTBEAT_KIND, RUNTIME_HEARTBEAT_MESSAGE, RUNTIME_LIVENESS_READY_KIND, RUNTIME_PING_KIND, RUNTIME_PONG_KIND, RUNTIME_STATUS_KIND, } from "./runtime/liveness.ts";
|
|
8
8
|
export type { RuntimeUpgradeResult } from "./runtime/upgrade.ts";
|
|
9
9
|
export { decodeRuntimeUpgradeResult, decodeRuntimeUpgradeVersion, encodeRuntimeUpgradeResult, } from "./runtime/upgrade.ts";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/protocol/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,kBAAkB,EAClB,2BAA2B,EAC3B,aAAa,EACb,YAAY,EACZ,oBAAoB,GACvB,MAAM,0BAA0B,CAAC;AAElC,YAAY,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE1E,OAAO,EACH,qBAAqB,EACrB,sBAAsB,GACzB,MAAM,gCAAgC,CAAC;AAExC,YAAY,EACR,yBAAyB,EACzB,wBAAwB,GAC3B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACH,+BAA+B,EAC/B,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,GACjC,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACR,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/protocol/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,kBAAkB,EAClB,2BAA2B,EAC3B,aAAa,EACb,YAAY,EACZ,oBAAoB,GACvB,MAAM,0BAA0B,CAAC;AAElC,YAAY,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE1E,OAAO,EACH,qBAAqB,EACrB,sBAAsB,GACzB,MAAM,gCAAgC,CAAC;AAExC,YAAY,EACR,yBAAyB,EACzB,wBAAwB,GAC3B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACH,+BAA+B,EAC/B,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,GACjC,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACR,wBAAwB,EACxB,qBAAqB,EACrB,yBAAyB,EACzB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,GACrB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACH,8BAA8B,EAC9B,2BAA2B,EAC3B,+BAA+B,EAC/B,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,8BAA8B,EAC9B,2BAA2B,EAC3B,+BAA+B,EAC/B,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,6BAA6B,EAC7B,sBAAsB,EACtB,yBAAyB,EACzB,2BAA2B,EAC3B,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,GACtB,MAAM,uBAAuB,CAAC;AAE/B,YAAY,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,OA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EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,mBAAmB,GACtB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACH,qBAAqB,EACrB,+BAA+B,EAC/B,yBAAyB,GAC5B,MAAM,uBAAuB,CAAC;AAE/B,YAAY,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,EACH,gBAAgB,EAChB,YAAY,GACf,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACH,iBAAiB,EACjB,oBAAoB,GACvB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,YAAY,EACR,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,GACzB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACH,0BAA0B,EAC1B,4BAA4B,EAC5B,iCAAiC,EACjC,iCAAiC,EACjC,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,GAC/B,MAAM,iCAAiC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/protocol/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,kBAAkB,EAClB,2BAA2B,EAC3B,aAAa,EACb,YAAY,EACZ,oBAAoB,GACvB,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EACH,qBAAqB,EACrB,sBAAsB,GACzB,MAAM,gCAAgC,CAAC;AAOxC,OAAO,EACH,+BAA+B,EAC/B,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,GACjC,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/protocol/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,kBAAkB,EAClB,2BAA2B,EAC3B,aAAa,EACb,YAAY,EACZ,oBAAoB,GACvB,MAAM,0BAA0B,CAAC;AAIlC,OAAO,EACH,qBAAqB,EACrB,s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CAAyC,EACzC,0CAA0C,EAC1C,+CAA+C,EAC/C,qCAAqC,EACrC,8BAA8B,GACjC,MAAM,qCAAqC,CAAC;AAO7C,OAAO,EACH,8BAA8B,EAC9B,8BAA8B,GACjC,MAAM,iCAAiC,CAAC;AAgBzC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAOrD,OAAO,EACH,2BAA2B,EAC3B,0BAA0B,EAC1B,2BAA2B,EAC3B,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,mBAAmB,GACtB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACH,qBAAqB,EACrB,+BAA+B,EAC/B,yBAAyB,GAC5B,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EACH,gBAAgB,EAChB,YAAY,GACf,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACH,iBAAiB,EACjB,oBAAoB,GACvB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAQvD,OAAO,EACH,0BAA0B,EAC1B,4BAA4B,EAC5B,iCAAiC,EACjC,iCAAiC,EACjC,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,GAC/B,MAAM,iCAAiC,CAAC"}
|
|
@@ -24,18 +24,6 @@ export interface RuntimeHeartbeatEvent {
|
|
|
24
24
|
export interface RuntimeHeartbeatAckEvent {
|
|
25
25
|
readonly kind: typeof RUNTIME_HEARTBEAT_ACK_KIND;
|
|
26
26
|
}
|
|
27
|
-
/**
|
|
28
|
-
* A heartbeat from a daemon released before heartbeats became fixed text. The host cannot answer
|
|
29
|
-
* it, so the Relay echoes the identifier that daemon expects in its acknowledgement.
|
|
30
|
-
*/
|
|
31
|
-
export interface IdentifiedRuntimeHeartbeatEvent {
|
|
32
|
-
readonly heartbeatId: string;
|
|
33
|
-
readonly kind: typeof RUNTIME_HEARTBEAT_KIND;
|
|
34
|
-
}
|
|
35
|
-
export interface IdentifiedRuntimeHeartbeatAckEvent {
|
|
36
|
-
readonly heartbeatId: string;
|
|
37
|
-
readonly kind: typeof RUNTIME_HEARTBEAT_ACK_KIND;
|
|
38
|
-
}
|
|
39
27
|
export interface RuntimePingCommand {
|
|
40
28
|
readonly kind: typeof RUNTIME_PING_KIND;
|
|
41
29
|
readonly requestId: string;
|
|
@@ -46,14 +34,14 @@ export interface RuntimePongEvent {
|
|
|
46
34
|
}
|
|
47
35
|
export declare function decodeRuntimeStatusEvent(encoded: string): RuntimeStatusEvent;
|
|
48
36
|
export declare function decodeRuntimeLivenessReadyEvent(encoded: string): RuntimeLivenessReadyEvent;
|
|
49
|
-
export declare function decodeRuntimeHeartbeatEvent(encoded: string): RuntimeHeartbeatEvent
|
|
50
|
-
export declare function decodeRuntimeHeartbeatAckEvent(encoded: string): RuntimeHeartbeatAckEvent
|
|
37
|
+
export declare function decodeRuntimeHeartbeatEvent(encoded: string): RuntimeHeartbeatEvent;
|
|
38
|
+
export declare function decodeRuntimeHeartbeatAckEvent(encoded: string): RuntimeHeartbeatAckEvent;
|
|
51
39
|
export declare function decodeRuntimePingCommand(encoded: string): RuntimePingCommand;
|
|
52
40
|
export declare function decodeRuntimePongEvent(encoded: string): RuntimePongEvent;
|
|
53
41
|
export declare function encodeRuntimeStatusEvent(message: RuntimeStatusEvent): string;
|
|
54
42
|
export declare function encodeRuntimeLivenessReadyEvent(message: RuntimeLivenessReadyEvent): string;
|
|
55
|
-
export declare function encodeRuntimeHeartbeatEvent(message: RuntimeHeartbeatEvent
|
|
56
|
-
export declare function encodeRuntimeHeartbeatAckEvent(message: RuntimeHeartbeatAckEvent
|
|
43
|
+
export declare function encodeRuntimeHeartbeatEvent(message: RuntimeHeartbeatEvent): string;
|
|
44
|
+
export declare function encodeRuntimeHeartbeatAckEvent(message: RuntimeHeartbeatAckEvent): string;
|
|
57
45
|
export declare function encodeRuntimePingCommand(message: RuntimePingCommand): string;
|
|
58
46
|
export declare function encodeRuntimePongEvent(message: RuntimePongEvent): string;
|
|
59
47
|
//# sourceMappingURL=liveness.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liveness.d.ts","sourceRoot":"","sources":["../../../src/protocol/runtime/liveness.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AACpD,eAAO,MAAM,2BAA2B,2BAA2B,CAAC;AACpE,eAAO,MAAM,sBAAsB,sBAAsB,CAAC;AAC1D,eAAO,MAAM,0BAA0B,0BAA0B,CAAC;AAClE,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAChD,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAEhD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,qCAAyC,CAAC;AAChF,eAAO,MAAM,6BAA6B,yCAA6C,CAAC;AAExF,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,IAAI,EAAE,OAAO,mBAAmB,CAAC;IAC1C,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,yBAAyB;IACtC,QAAQ,CAAC,IAAI,EAAE,OAAO,2BAA2B,CAAC;CACrD;AAED,MAAM,WAAW,qBAAqB;IAClC,QAAQ,CAAC,IAAI,EAAE,OAAO,sBAAsB,CAAC;CAChD;AAED,MAAM,WAAW,wBAAwB;IACrC,QAAQ,CAAC,IAAI,EAAE,OAAO,0BAA0B,CAAC;CACpD;AAED
|
|
1
|
+
{"version":3,"file":"liveness.d.ts","sourceRoot":"","sources":["../../../src/protocol/runtime/liveness.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AACpD,eAAO,MAAM,2BAA2B,2BAA2B,CAAC;AACpE,eAAO,MAAM,sBAAsB,sBAAsB,CAAC;AAC1D,eAAO,MAAM,0BAA0B,0BAA0B,CAAC;AAClE,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAChD,eAAO,MAAM,iBAA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,EAAE,kBAAkB,GAAG,MAAM,CAE5E;AAED,wBAAgB,+BAA+B,CAAC,OAAO,EAAE,yBAAyB,GAAG,MAAM,CAE1F;AAED,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAGlF;AAED,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,wBAAwB,GAAG,MAAM,CAGxF;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM,CAE5E;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,gBAAgB,GAAG,MAAM,CAExE"}
|
|
@@ -28,16 +28,12 @@ export function decodeRuntimeLivenessReadyEvent(encoded) {
|
|
|
28
28
|
export function decodeRuntimeHeartbeatEvent(encoded) {
|
|
29
29
|
const value = parseJson(encoded);
|
|
30
30
|
assertKind(value, RUNTIME_HEARTBEAT_KIND);
|
|
31
|
-
return
|
|
32
|
-
? { heartbeatId: readIdentifier(value, "heartbeatId"), kind: RUNTIME_HEARTBEAT_KIND }
|
|
33
|
-
: { kind: RUNTIME_HEARTBEAT_KIND };
|
|
31
|
+
return { kind: RUNTIME_HEARTBEAT_KIND };
|
|
34
32
|
}
|
|
35
33
|
export function decodeRuntimeHeartbeatAckEvent(encoded) {
|
|
36
34
|
const value = parseJson(encoded);
|
|
37
35
|
assertKind(value, RUNTIME_HEARTBEAT_ACK_KIND);
|
|
38
|
-
return
|
|
39
|
-
? { heartbeatId: readIdentifier(value, "heartbeatId"), kind: RUNTIME_HEARTBEAT_ACK_KIND }
|
|
40
|
-
: { kind: RUNTIME_HEARTBEAT_ACK_KIND };
|
|
36
|
+
return { kind: RUNTIME_HEARTBEAT_ACK_KIND };
|
|
41
37
|
}
|
|
42
38
|
export function decodeRuntimePingCommand(encoded) {
|
|
43
39
|
const value = parseJson(encoded);
|
|
@@ -56,12 +52,12 @@ export function encodeRuntimeLivenessReadyEvent(message) {
|
|
|
56
52
|
return JSON.stringify(decodeRuntimeLivenessReadyEvent(JSON.stringify(message)));
|
|
57
53
|
}
|
|
58
54
|
export function encodeRuntimeHeartbeatEvent(message) {
|
|
59
|
-
|
|
60
|
-
return
|
|
55
|
+
decodeRuntimeHeartbeatEvent(JSON.stringify(message));
|
|
56
|
+
return RUNTIME_HEARTBEAT_MESSAGE;
|
|
61
57
|
}
|
|
62
58
|
export function encodeRuntimeHeartbeatAckEvent(message) {
|
|
63
|
-
|
|
64
|
-
return
|
|
59
|
+
decodeRuntimeHeartbeatAckEvent(JSON.stringify(message));
|
|
60
|
+
return RUNTIME_HEARTBEAT_ACK_MESSAGE;
|
|
65
61
|
}
|
|
66
62
|
export function encodeRuntimePingCommand(message) {
|
|
67
63
|
return JSON.stringify(decodeRuntimePingCommand(JSON.stringify(message)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liveness.js","sourceRoot":"","sources":["../../../src/protocol/runtime/liveness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEhG,MAAM,CAAC,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AACpD,MAAM,CAAC,MAAM,2BAA2B,GAAG,wBAAwB,CAAC;AACpE,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CAAC;AAC1D,MAAM,CAAC,MAAM,0BAA0B,GAAG,uBAAuB,CAAC;AAClE,MAAM,CAAC,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAChD,MAAM,CAAC,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAEhD;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,YAAY,sBAAsB,IAAI,CAAC;AAChF,MAAM,CAAC,MAAM,6BAA6B,GAAG,YAAY,0BAA0B,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"liveness.js","sourceRoot":"","sources":["../../../src/protocol/runtime/liveness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,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C,OAAiC;IAC5E,8BAA8B,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;IACxD,OAAO,6BAA6B,CAAC;AACzC,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,OAA2B;IAChE,OAAO,IAAI,CAAC,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAC7E,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAAyB;IAC5D,OAAO,IAAI,CAAC,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAC3E,CAAC"}
|
|
@@ -121,7 +121,7 @@ declare const serviceToDaemonSignatures: {
|
|
|
121
121
|
entryId: string;
|
|
122
122
|
targetSessionId: string;
|
|
123
123
|
}>>;
|
|
124
|
-
readonly "runtime.heartbeat.ack": MessageSignature<import("../runtime/liveness.ts").
|
|
124
|
+
readonly "runtime.heartbeat.ack": MessageSignature<import("../runtime/liveness.ts").RuntimeHeartbeatAckEvent>;
|
|
125
125
|
readonly "runtime.liveness.ready": MessageSignature<import("../runtime/liveness.ts").RuntimeLivenessReadyEvent>;
|
|
126
126
|
readonly "runtime.diagnostics.read": MessageSignature<Readonly<{
|
|
127
127
|
kind: "runtime.diagnostics.read";
|
|
@@ -1632,7 +1632,7 @@ declare const daemonToServiceSignatures: {
|
|
|
1632
1632
|
}>;
|
|
1633
1633
|
title: string;
|
|
1634
1634
|
}>>;
|
|
1635
|
-
readonly "runtime.heartbeat": MessageSignature<import("../runtime/liveness.ts").
|
|
1635
|
+
readonly "runtime.heartbeat": MessageSignature<import("../runtime/liveness.ts").RuntimeHeartbeatEvent>;
|
|
1636
1636
|
readonly "runtime.upgrade.result": MessageSignature<Readonly<{
|
|
1637
1637
|
kind: "runtime.upgrade.result";
|
|
1638
1638
|
requestId: string & import("zod").$brand<"Identifier">;
|