@serve.zone/interfaces 7.12.0 → 7.13.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.13.0
4
+
5
+ ### Features
6
+
7
+ - add deployment log streaming request interfaces (deployment)
8
+ - Add start and stop typed request contracts for deployment log streams between clients, Cloudly, and Coreflow.
9
+ - Add typed contracts for reporting, pushing, and ending streamed deployment log lines.
10
+
3
11
  ## 2026-06-10 - 7.12.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.12.0',
6
+ version: '7.13.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=
@@ -453,3 +453,82 @@ export interface IReq_Cloudly_Any_PushDeploymentShellExit extends plugins.typedr
453
453
  };
454
454
  response: Record<string, never>;
455
455
  }
456
+ export interface IReq_Any_Cloudly_DeploymentLogStreamStart extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_DeploymentLogStreamStart> {
457
+ method: 'deploymentLogStreamStart';
458
+ request: {
459
+ identity: IIdentity;
460
+ deploymentId: string;
461
+ streamId: string;
462
+ /** Number of trailing log lines to seed the stream with (default 200). */
463
+ tail?: number;
464
+ };
465
+ response: {
466
+ streamId: string;
467
+ };
468
+ }
469
+ export interface IReq_Any_Cloudly_DeploymentLogStreamStop extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_DeploymentLogStreamStop> {
470
+ method: 'deploymentLogStreamStop';
471
+ request: {
472
+ identity: IIdentity;
473
+ streamId: string;
474
+ };
475
+ response: Record<string, never>;
476
+ }
477
+ export interface IReq_Cloudly_Coreflow_DeploymentLogStreamStart extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_Coreflow_DeploymentLogStreamStart> {
478
+ method: 'coreflowDeploymentLogStreamStart';
479
+ request: {
480
+ deploymentId: string;
481
+ streamId: string;
482
+ tail?: number;
483
+ };
484
+ response: {
485
+ found: boolean;
486
+ streamId?: string;
487
+ };
488
+ }
489
+ export interface IReq_Cloudly_Coreflow_DeploymentLogStreamStop extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_Coreflow_DeploymentLogStreamStop> {
490
+ method: 'coreflowDeploymentLogStreamStop';
491
+ request: {
492
+ streamId: string;
493
+ };
494
+ response: {
495
+ found: boolean;
496
+ };
497
+ }
498
+ export interface IReq_Coreflow_Cloudly_ReportDeploymentLogLines extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Coreflow_Cloudly_ReportDeploymentLogLines> {
499
+ method: 'reportDeploymentLogLines';
500
+ request: {
501
+ identity: IIdentity;
502
+ streamId: string;
503
+ deploymentId: string;
504
+ lines: string[];
505
+ };
506
+ response: Record<string, never>;
507
+ }
508
+ export interface IReq_Coreflow_Cloudly_ReportDeploymentLogStreamEnd extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Coreflow_Cloudly_ReportDeploymentLogStreamEnd> {
509
+ method: 'reportDeploymentLogStreamEnd';
510
+ request: {
511
+ identity: IIdentity;
512
+ streamId: string;
513
+ /** e.g. 'container-exited' | 'stopped' | 'ttl-expired' | 'error' */
514
+ reason?: string;
515
+ };
516
+ response: Record<string, never>;
517
+ }
518
+ export interface IReq_Cloudly_Any_PushDeploymentLogLines extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_Any_PushDeploymentLogLines> {
519
+ method: 'pushDeploymentLogLines';
520
+ request: {
521
+ streamId: string;
522
+ deploymentId: string;
523
+ lines: string[];
524
+ };
525
+ response: Record<string, never>;
526
+ }
527
+ export interface IReq_Cloudly_Any_PushDeploymentLogStreamEnd extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_Any_PushDeploymentLogStreamEnd> {
528
+ method: 'pushDeploymentLogStreamEnd';
529
+ request: {
530
+ streamId: string;
531
+ reason?: string;
532
+ };
533
+ response: Record<string, never>;
534
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "7.12.0",
3
+ "version": "7.13.0",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.",
6
6
  "exports": {
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '7.12.0',
6
+ version: '7.13.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  }
@@ -670,3 +670,127 @@ extends plugins.typedrequestInterfaces.implementsTR<
670
670
  };
671
671
  response: Record<string, never>;
672
672
  }
673
+
674
+ // ============================================================================
675
+ // Live deployment log streaming (deployment detail page)
676
+ // UI -> Cloudly -> Coreflow, with log lines streamed back via pushes.
677
+ // ============================================================================
678
+
679
+ export interface IReq_Any_Cloudly_DeploymentLogStreamStart
680
+ extends plugins.typedrequestInterfaces.implementsTR<
681
+ plugins.typedrequestInterfaces.ITypedRequest,
682
+ IReq_Any_Cloudly_DeploymentLogStreamStart
683
+ > {
684
+ method: 'deploymentLogStreamStart';
685
+ request: {
686
+ identity: IIdentity;
687
+ deploymentId: string;
688
+ streamId: string;
689
+ /** Number of trailing log lines to seed the stream with (default 200). */
690
+ tail?: number;
691
+ };
692
+ response: {
693
+ streamId: string;
694
+ };
695
+ }
696
+
697
+ export interface IReq_Any_Cloudly_DeploymentLogStreamStop
698
+ extends plugins.typedrequestInterfaces.implementsTR<
699
+ plugins.typedrequestInterfaces.ITypedRequest,
700
+ IReq_Any_Cloudly_DeploymentLogStreamStop
701
+ > {
702
+ method: 'deploymentLogStreamStop';
703
+ request: {
704
+ identity: IIdentity;
705
+ streamId: string;
706
+ };
707
+ response: Record<string, never>;
708
+ }
709
+
710
+ export interface IReq_Cloudly_Coreflow_DeploymentLogStreamStart
711
+ extends plugins.typedrequestInterfaces.implementsTR<
712
+ plugins.typedrequestInterfaces.ITypedRequest,
713
+ IReq_Cloudly_Coreflow_DeploymentLogStreamStart
714
+ > {
715
+ method: 'coreflowDeploymentLogStreamStart';
716
+ request: {
717
+ deploymentId: string;
718
+ streamId: string;
719
+ tail?: number;
720
+ };
721
+ response: {
722
+ found: boolean;
723
+ streamId?: string;
724
+ };
725
+ }
726
+
727
+ export interface IReq_Cloudly_Coreflow_DeploymentLogStreamStop
728
+ extends plugins.typedrequestInterfaces.implementsTR<
729
+ plugins.typedrequestInterfaces.ITypedRequest,
730
+ IReq_Cloudly_Coreflow_DeploymentLogStreamStop
731
+ > {
732
+ method: 'coreflowDeploymentLogStreamStop';
733
+ request: {
734
+ streamId: string;
735
+ };
736
+ response: {
737
+ found: boolean;
738
+ };
739
+ }
740
+
741
+ export interface IReq_Coreflow_Cloudly_ReportDeploymentLogLines
742
+ extends plugins.typedrequestInterfaces.implementsTR<
743
+ plugins.typedrequestInterfaces.ITypedRequest,
744
+ IReq_Coreflow_Cloudly_ReportDeploymentLogLines
745
+ > {
746
+ method: 'reportDeploymentLogLines';
747
+ request: {
748
+ identity: IIdentity;
749
+ streamId: string;
750
+ deploymentId: string;
751
+ lines: string[];
752
+ };
753
+ response: Record<string, never>;
754
+ }
755
+
756
+ export interface IReq_Coreflow_Cloudly_ReportDeploymentLogStreamEnd
757
+ extends plugins.typedrequestInterfaces.implementsTR<
758
+ plugins.typedrequestInterfaces.ITypedRequest,
759
+ IReq_Coreflow_Cloudly_ReportDeploymentLogStreamEnd
760
+ > {
761
+ method: 'reportDeploymentLogStreamEnd';
762
+ request: {
763
+ identity: IIdentity;
764
+ streamId: string;
765
+ /** e.g. 'container-exited' | 'stopped' | 'ttl-expired' | 'error' */
766
+ reason?: string;
767
+ };
768
+ response: Record<string, never>;
769
+ }
770
+
771
+ export interface IReq_Cloudly_Any_PushDeploymentLogLines
772
+ extends plugins.typedrequestInterfaces.implementsTR<
773
+ plugins.typedrequestInterfaces.ITypedRequest,
774
+ IReq_Cloudly_Any_PushDeploymentLogLines
775
+ > {
776
+ method: 'pushDeploymentLogLines';
777
+ request: {
778
+ streamId: string;
779
+ deploymentId: string;
780
+ lines: string[];
781
+ };
782
+ response: Record<string, never>;
783
+ }
784
+
785
+ export interface IReq_Cloudly_Any_PushDeploymentLogStreamEnd
786
+ extends plugins.typedrequestInterfaces.implementsTR<
787
+ plugins.typedrequestInterfaces.ITypedRequest,
788
+ IReq_Cloudly_Any_PushDeploymentLogStreamEnd
789
+ > {
790
+ method: 'pushDeploymentLogStreamEnd';
791
+ request: {
792
+ streamId: string;
793
+ reason?: string;
794
+ };
795
+ response: Record<string, never>;
796
+ }