car-runtime 0.30.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +20 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -602,6 +602,26 @@ export class CarRuntime {
|
|
|
602
602
|
*/
|
|
603
603
|
messagingPairingStatus(requestJson?: string): Promise<string>;
|
|
604
604
|
|
|
605
|
+
/**
|
|
606
|
+
* `messaging.status` — the real runtime liveness of one channel's approval
|
|
607
|
+
* transport, computed daemon-side so a host UI can render a SINGLE readiness
|
|
608
|
+
* state (enabled · watcher running · FDA · paired) plus last-delivered +
|
|
609
|
+
* last-error. Host/local-auth gated. `requestJson` is an optional
|
|
610
|
+
* `{ channel? }` selector (`"imessage"` | `"slack"`, default `"imessage"`).
|
|
611
|
+
* Returns `MessagingStatusView` JSON.
|
|
612
|
+
*/
|
|
613
|
+
messagingStatus(requestJson?: string): Promise<string>;
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* `messaging.test_send` — send a fixed, clearly-labeled self-test message to
|
|
617
|
+
* one channel's paired handle and return `{ ok, error }` synchronously. A
|
|
618
|
+
* pure send probe: it mints NO approval/pairing mapping and resolves nothing.
|
|
619
|
+
* Host/local-auth gated. `requestJson` is an optional `{ channel? }` selector
|
|
620
|
+
* (`"imessage"` | `"slack"`, default `"imessage"`). Returns
|
|
621
|
+
* `MessagingTestSendResponse` JSON.
|
|
622
|
+
*/
|
|
623
|
+
messagingTestSend(requestJson?: string): Promise<string>;
|
|
624
|
+
|
|
605
625
|
/**
|
|
606
626
|
* Recommend models for this machine + intent. `useCase`/`tier` are
|
|
607
627
|
* snake_case enum values (e.g. "coding", "most_capable"); `cloudOk` lets
|