@serve.zone/interfaces 32.122.0 → 32.123.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.
@@ -13,6 +13,7 @@ import type * as localStorage from '../data/runtimelocalstorageclaim.js';
13
13
  import type * as logs from '../data/runtimeassignmentlogs.js';
14
14
  import type * as stats from '../data/runtimeassignmentstats.js';
15
15
  import type * as exec from '../data/runtimeassignmentexec.js';
16
+ import type * as palletWorkspace from '../data/palletworkspace.js';
16
17
  import type * as volumeArchive from '../data/runtimelocalvolumearchive.js';
17
18
 
18
19
  /** Current-peer, exact-projection authorization; response contains secret keys. */
@@ -297,6 +298,58 @@ export interface IReq_Onebox_Pallet_CloseRuntimeAssignmentExec extends plugins.t
297
298
  response: exec.ICloseRuntimeAssignmentExecResponse;
298
299
  }
299
300
 
301
+ /**
302
+ * A controller runs one bounded non-interactive command inside a running Pallet
303
+ * assignment container via containerd CRI `ExecSync`.
304
+ */
305
+ export interface IReq_Controller_Pallet_RunRuntimeAssignmentExec extends plugins.typedrequestInterfaces.implementsTR<
306
+ plugins.typedrequestInterfaces.ITypedRequest, IReq_Controller_Pallet_RunRuntimeAssignmentExec
307
+ > {
308
+ method: 'runRuntimeAssignmentExec';
309
+ request: palletWorkspace.IRunRuntimeAssignmentExecRequest;
310
+ response: palletWorkspace.IRunRuntimeAssignmentExecResponse;
311
+ }
312
+
313
+ /**
314
+ * A controller starts an interactive shell session inside a running Pallet
315
+ * assignment container. Output chunks travel back to the controller via
316
+ * `pushRuntimeAssignmentShellOutput`.
317
+ */
318
+ export interface IReq_Controller_Pallet_StartRuntimeAssignmentShell extends plugins.typedrequestInterfaces.implementsTR<
319
+ plugins.typedrequestInterfaces.ITypedRequest, IReq_Controller_Pallet_StartRuntimeAssignmentShell
320
+ > {
321
+ method: 'startRuntimeAssignmentShell';
322
+ request: palletWorkspace.IStartRuntimeAssignmentShellRequest;
323
+ response: palletWorkspace.IStartRuntimeAssignmentShellResponse;
324
+ }
325
+
326
+ /** A controller sends stdin bytes to an open Pallet interactive shell session. */
327
+ export interface IReq_Controller_Pallet_WriteRuntimeAssignmentShell extends plugins.typedrequestInterfaces.implementsTR<
328
+ plugins.typedrequestInterfaces.ITypedRequest, IReq_Controller_Pallet_WriteRuntimeAssignmentShell
329
+ > {
330
+ method: 'writeRuntimeAssignmentShell';
331
+ request: palletWorkspace.IWriteRuntimeAssignmentShellRequest;
332
+ response: Record<string, never>;
333
+ }
334
+
335
+ /** A controller terminates an open Pallet interactive shell session. */
336
+ export interface IReq_Controller_Pallet_KillRuntimeAssignmentShell extends plugins.typedrequestInterfaces.implementsTR<
337
+ plugins.typedrequestInterfaces.ITypedRequest, IReq_Controller_Pallet_KillRuntimeAssignmentShell
338
+ > {
339
+ method: 'killRuntimeAssignmentShell';
340
+ request: palletWorkspace.IKillRuntimeAssignmentShellRequest;
341
+ response: Record<string, never>;
342
+ }
343
+
344
+ /** Pallet pushes stdout/stderr/exit notifications for an active interactive shell back to Cloudly. */
345
+ export interface IReq_Pallet_Controller_PushRuntimeAssignmentShellOutput extends plugins.typedrequestInterfaces.implementsTR<
346
+ plugins.typedrequestInterfaces.ITypedRequest, IReq_Pallet_Controller_PushRuntimeAssignmentShellOutput
347
+ > {
348
+ method: 'pushRuntimeAssignmentShellOutput';
349
+ request: palletWorkspace.IPushRuntimeAssignmentShellOutputRequest;
350
+ response: Record<string, never>;
351
+ }
352
+
300
353
  /**
301
354
  * A local controller reads one node-local volume as a pax archive
302
355
  * (`runtimeLocalVolumeArchiveContract`). The archive arrives on `archive`, which outlives this