@serve.zone/interfaces 7.11.0 → 7.12.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/changelog.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-06-10 - 7.12.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- add interactive deployment shell request interfaces (deployment)
|
|
8
|
+
- Define deployment shell command and process request contracts for Cloudly and Coreflow.
|
|
9
|
+
- Add output and exit reporting/push interfaces for streaming shell process updates.
|
|
10
|
+
|
|
3
11
|
## 2026-06-10 - 7.11.0
|
|
4
12
|
|
|
5
13
|
### Features
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '7.
|
|
6
|
+
version: '7.12.0',
|
|
7
7
|
description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
|
|
@@ -331,3 +331,125 @@ export interface IReq_Cloudly_Any_PushServiceReconciliationStatus extends plugin
|
|
|
331
331
|
};
|
|
332
332
|
response: Record<string, never>;
|
|
333
333
|
}
|
|
334
|
+
export interface IDeploymentShellCommand {
|
|
335
|
+
command: string;
|
|
336
|
+
args?: string[];
|
|
337
|
+
label?: string;
|
|
338
|
+
prompt?: string;
|
|
339
|
+
}
|
|
340
|
+
export interface IReq_Any_Cloudly_DeploymentShellGetCommand extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_DeploymentShellGetCommand> {
|
|
341
|
+
method: 'deploymentShellGetCommand';
|
|
342
|
+
request: {
|
|
343
|
+
identity: IIdentity;
|
|
344
|
+
deploymentId: string;
|
|
345
|
+
};
|
|
346
|
+
response: {
|
|
347
|
+
shellCommand: IDeploymentShellCommand;
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
export interface IReq_Any_Cloudly_DeploymentShellStart extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_DeploymentShellStart> {
|
|
351
|
+
method: 'deploymentShellStart';
|
|
352
|
+
request: {
|
|
353
|
+
identity: IIdentity;
|
|
354
|
+
deploymentId: string;
|
|
355
|
+
processId: string;
|
|
356
|
+
command: string;
|
|
357
|
+
args?: string[];
|
|
358
|
+
};
|
|
359
|
+
response: {
|
|
360
|
+
processId: string;
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
export interface IReq_Any_Cloudly_DeploymentShellInput extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_DeploymentShellInput> {
|
|
364
|
+
method: 'deploymentShellInput';
|
|
365
|
+
request: {
|
|
366
|
+
identity: IIdentity;
|
|
367
|
+
processId: string;
|
|
368
|
+
input: string;
|
|
369
|
+
};
|
|
370
|
+
response: Record<string, never>;
|
|
371
|
+
}
|
|
372
|
+
export interface IReq_Any_Cloudly_DeploymentShellKill extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_DeploymentShellKill> {
|
|
373
|
+
method: 'deploymentShellKill';
|
|
374
|
+
request: {
|
|
375
|
+
identity: IIdentity;
|
|
376
|
+
processId: string;
|
|
377
|
+
};
|
|
378
|
+
response: Record<string, never>;
|
|
379
|
+
}
|
|
380
|
+
export interface IReq_Cloudly_Coreflow_DeploymentShellGetCommand extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_Coreflow_DeploymentShellGetCommand> {
|
|
381
|
+
method: 'coreflowDeploymentShellGetCommand';
|
|
382
|
+
request: {
|
|
383
|
+
deploymentId: string;
|
|
384
|
+
};
|
|
385
|
+
response: {
|
|
386
|
+
found: boolean;
|
|
387
|
+
shellCommand?: IDeploymentShellCommand;
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
export interface IReq_Cloudly_Coreflow_DeploymentShellStart extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_Coreflow_DeploymentShellStart> {
|
|
391
|
+
method: 'coreflowDeploymentShellStart';
|
|
392
|
+
request: {
|
|
393
|
+
deploymentId: string;
|
|
394
|
+
processId: string;
|
|
395
|
+
command: string;
|
|
396
|
+
args?: string[];
|
|
397
|
+
};
|
|
398
|
+
response: {
|
|
399
|
+
found: boolean;
|
|
400
|
+
processId?: string;
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
export interface IReq_Cloudly_Coreflow_DeploymentShellInput extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_Coreflow_DeploymentShellInput> {
|
|
404
|
+
method: 'coreflowDeploymentShellInput';
|
|
405
|
+
request: {
|
|
406
|
+
processId: string;
|
|
407
|
+
input: string;
|
|
408
|
+
};
|
|
409
|
+
response: {
|
|
410
|
+
found: boolean;
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
export interface IReq_Cloudly_Coreflow_DeploymentShellKill extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_Coreflow_DeploymentShellKill> {
|
|
414
|
+
method: 'coreflowDeploymentShellKill';
|
|
415
|
+
request: {
|
|
416
|
+
processId: string;
|
|
417
|
+
};
|
|
418
|
+
response: {
|
|
419
|
+
found: boolean;
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
export interface IReq_Coreflow_Cloudly_ReportDeploymentShellOutput extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Coreflow_Cloudly_ReportDeploymentShellOutput> {
|
|
423
|
+
method: 'reportDeploymentShellOutput';
|
|
424
|
+
request: {
|
|
425
|
+
identity: IIdentity;
|
|
426
|
+
processId: string;
|
|
427
|
+
output: string;
|
|
428
|
+
};
|
|
429
|
+
response: Record<string, never>;
|
|
430
|
+
}
|
|
431
|
+
export interface IReq_Coreflow_Cloudly_ReportDeploymentShellExit extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Coreflow_Cloudly_ReportDeploymentShellExit> {
|
|
432
|
+
method: 'reportDeploymentShellExit';
|
|
433
|
+
request: {
|
|
434
|
+
identity: IIdentity;
|
|
435
|
+
processId: string;
|
|
436
|
+
exitCode: number;
|
|
437
|
+
};
|
|
438
|
+
response: Record<string, never>;
|
|
439
|
+
}
|
|
440
|
+
export interface IReq_Cloudly_Any_PushDeploymentShellOutput extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_Any_PushDeploymentShellOutput> {
|
|
441
|
+
method: 'pushDeploymentShellOutput';
|
|
442
|
+
request: {
|
|
443
|
+
processId: string;
|
|
444
|
+
output: string;
|
|
445
|
+
};
|
|
446
|
+
response: Record<string, never>;
|
|
447
|
+
}
|
|
448
|
+
export interface IReq_Cloudly_Any_PushDeploymentShellExit extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_Any_PushDeploymentShellExit> {
|
|
449
|
+
method: 'pushDeploymentShellExit';
|
|
450
|
+
request: {
|
|
451
|
+
processId: string;
|
|
452
|
+
exitCode: number;
|
|
453
|
+
};
|
|
454
|
+
response: Record<string, never>;
|
|
455
|
+
}
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
|
@@ -482,3 +482,191 @@ extends plugins.typedrequestInterfaces.implementsTR<
|
|
|
482
482
|
};
|
|
483
483
|
response: Record<string, never>;
|
|
484
484
|
}
|
|
485
|
+
|
|
486
|
+
// ============================================================================
|
|
487
|
+
// Interactive deployment shell (workspace terminal)
|
|
488
|
+
// UI -> Cloudly -> Coreflow, with output/exit streamed back via pushes.
|
|
489
|
+
// ============================================================================
|
|
490
|
+
|
|
491
|
+
export interface IDeploymentShellCommand {
|
|
492
|
+
command: string;
|
|
493
|
+
args?: string[];
|
|
494
|
+
label?: string;
|
|
495
|
+
prompt?: string;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export interface IReq_Any_Cloudly_DeploymentShellGetCommand
|
|
499
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
500
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
501
|
+
IReq_Any_Cloudly_DeploymentShellGetCommand
|
|
502
|
+
> {
|
|
503
|
+
method: 'deploymentShellGetCommand';
|
|
504
|
+
request: {
|
|
505
|
+
identity: IIdentity;
|
|
506
|
+
deploymentId: string;
|
|
507
|
+
};
|
|
508
|
+
response: {
|
|
509
|
+
shellCommand: IDeploymentShellCommand;
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
export interface IReq_Any_Cloudly_DeploymentShellStart
|
|
514
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
515
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
516
|
+
IReq_Any_Cloudly_DeploymentShellStart
|
|
517
|
+
> {
|
|
518
|
+
method: 'deploymentShellStart';
|
|
519
|
+
request: {
|
|
520
|
+
identity: IIdentity;
|
|
521
|
+
deploymentId: string;
|
|
522
|
+
processId: string;
|
|
523
|
+
command: string;
|
|
524
|
+
args?: string[];
|
|
525
|
+
};
|
|
526
|
+
response: {
|
|
527
|
+
processId: string;
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
export interface IReq_Any_Cloudly_DeploymentShellInput
|
|
532
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
533
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
534
|
+
IReq_Any_Cloudly_DeploymentShellInput
|
|
535
|
+
> {
|
|
536
|
+
method: 'deploymentShellInput';
|
|
537
|
+
request: {
|
|
538
|
+
identity: IIdentity;
|
|
539
|
+
processId: string;
|
|
540
|
+
input: string;
|
|
541
|
+
};
|
|
542
|
+
response: Record<string, never>;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export interface IReq_Any_Cloudly_DeploymentShellKill
|
|
546
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
547
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
548
|
+
IReq_Any_Cloudly_DeploymentShellKill
|
|
549
|
+
> {
|
|
550
|
+
method: 'deploymentShellKill';
|
|
551
|
+
request: {
|
|
552
|
+
identity: IIdentity;
|
|
553
|
+
processId: string;
|
|
554
|
+
};
|
|
555
|
+
response: Record<string, never>;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export interface IReq_Cloudly_Coreflow_DeploymentShellGetCommand
|
|
559
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
560
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
561
|
+
IReq_Cloudly_Coreflow_DeploymentShellGetCommand
|
|
562
|
+
> {
|
|
563
|
+
method: 'coreflowDeploymentShellGetCommand';
|
|
564
|
+
request: {
|
|
565
|
+
deploymentId: string;
|
|
566
|
+
};
|
|
567
|
+
response: {
|
|
568
|
+
found: boolean;
|
|
569
|
+
shellCommand?: IDeploymentShellCommand;
|
|
570
|
+
};
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
export interface IReq_Cloudly_Coreflow_DeploymentShellStart
|
|
574
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
575
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
576
|
+
IReq_Cloudly_Coreflow_DeploymentShellStart
|
|
577
|
+
> {
|
|
578
|
+
method: 'coreflowDeploymentShellStart';
|
|
579
|
+
request: {
|
|
580
|
+
deploymentId: string;
|
|
581
|
+
processId: string;
|
|
582
|
+
command: string;
|
|
583
|
+
args?: string[];
|
|
584
|
+
};
|
|
585
|
+
response: {
|
|
586
|
+
found: boolean;
|
|
587
|
+
processId?: string;
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
export interface IReq_Cloudly_Coreflow_DeploymentShellInput
|
|
592
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
593
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
594
|
+
IReq_Cloudly_Coreflow_DeploymentShellInput
|
|
595
|
+
> {
|
|
596
|
+
method: 'coreflowDeploymentShellInput';
|
|
597
|
+
request: {
|
|
598
|
+
processId: string;
|
|
599
|
+
input: string;
|
|
600
|
+
};
|
|
601
|
+
response: {
|
|
602
|
+
found: boolean;
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export interface IReq_Cloudly_Coreflow_DeploymentShellKill
|
|
607
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
608
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
609
|
+
IReq_Cloudly_Coreflow_DeploymentShellKill
|
|
610
|
+
> {
|
|
611
|
+
method: 'coreflowDeploymentShellKill';
|
|
612
|
+
request: {
|
|
613
|
+
processId: string;
|
|
614
|
+
};
|
|
615
|
+
response: {
|
|
616
|
+
found: boolean;
|
|
617
|
+
};
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
export interface IReq_Coreflow_Cloudly_ReportDeploymentShellOutput
|
|
621
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
622
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
623
|
+
IReq_Coreflow_Cloudly_ReportDeploymentShellOutput
|
|
624
|
+
> {
|
|
625
|
+
method: 'reportDeploymentShellOutput';
|
|
626
|
+
request: {
|
|
627
|
+
identity: IIdentity;
|
|
628
|
+
processId: string;
|
|
629
|
+
output: string;
|
|
630
|
+
};
|
|
631
|
+
response: Record<string, never>;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export interface IReq_Coreflow_Cloudly_ReportDeploymentShellExit
|
|
635
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
636
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
637
|
+
IReq_Coreflow_Cloudly_ReportDeploymentShellExit
|
|
638
|
+
> {
|
|
639
|
+
method: 'reportDeploymentShellExit';
|
|
640
|
+
request: {
|
|
641
|
+
identity: IIdentity;
|
|
642
|
+
processId: string;
|
|
643
|
+
exitCode: number;
|
|
644
|
+
};
|
|
645
|
+
response: Record<string, never>;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
export interface IReq_Cloudly_Any_PushDeploymentShellOutput
|
|
649
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
650
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
651
|
+
IReq_Cloudly_Any_PushDeploymentShellOutput
|
|
652
|
+
> {
|
|
653
|
+
method: 'pushDeploymentShellOutput';
|
|
654
|
+
request: {
|
|
655
|
+
processId: string;
|
|
656
|
+
output: string;
|
|
657
|
+
};
|
|
658
|
+
response: Record<string, never>;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
export interface IReq_Cloudly_Any_PushDeploymentShellExit
|
|
662
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
663
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
664
|
+
IReq_Cloudly_Any_PushDeploymentShellExit
|
|
665
|
+
> {
|
|
666
|
+
method: 'pushDeploymentShellExit';
|
|
667
|
+
request: {
|
|
668
|
+
processId: string;
|
|
669
|
+
exitCode: number;
|
|
670
|
+
};
|
|
671
|
+
response: Record<string, never>;
|
|
672
|
+
}
|