client-runtime:storage
client-runtime:storage
Section titled “client-runtime:storage”| Field | Value |
|---|---|
| Prefix | client-runtime:storage |
| Namespace constant | ClientRuntimeStorageNamespace |
| Subjects constant | ClientRuntimeStorageSubjects |
| Kind | bus |
| Schema record | <inline> |
| Tier | framework |
| Package | @makaio/clients-core |
| Defined in | packages/clients-core/src/storage/runtime-storage-namespace.ts |
Subjects
Section titled “Subjects”| Key | Wire | Type | Schema |
|---|---|---|---|
loadAll | client-runtime:storage.loadAll | rpc | — |
upsert | client-runtime:storage.upsert | rpc | — |
Subject Details
Section titled “Subject Details”client-runtime:storage.loadAll (rpc)
Section titled “client-runtime:storage.loadAll (rpc)”Subject: client-runtime:storage.loadAll
Type: Request (RPC)
Request:
Empty object.
Response:
| Field | Type | Required |
|---|---|---|
records | { clientRuntimeId: string; clientId: string; status: "started" | "observed"; observedAt: number; createdAt: number; updatedAt: number; supervisorSessionId?: string | undefined; pid?: number | undefined; parentPid?: number | undefined; adapterSessionId?: string | undefined; sessionId?: string | undefined; cwd?: string | undefined; argv?: string[] | undefined; metadata?: Record<string, unknown> | undefined; }[] | yes |
client-runtime:storage.upsert (rpc)
Section titled “client-runtime:storage.upsert (rpc)”Subject: client-runtime:storage.upsert
Type: Request (RPC)
Request:
| Field | Type | Required |
|---|---|---|
adapterSessionId | string | undefined | no |
argv | string[] | undefined | no |
clientId | string | yes |
clientRuntimeId | string | yes |
createdAt | number | yes |
cwd | string | undefined | no |
metadata | Record<string, unknown> | undefined | no |
observedAt | number | yes |
parentPid | number | undefined | no |
pid | number | undefined | no |
sessionId | string | undefined | no |
status | "started" | "observed" | yes |
supervisorSessionId | string | undefined | no |
updatedAt | number | yes |
Response:
| Field | Type | Required |
|---|---|---|
success | boolean | yes |
Auto-generated by yarn docs:bus. Do not edit manually.