agl 43.3.1 → 43.3.2

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.
@@ -49,7 +49,11 @@ export type TFlexSessionReversionInfo = plugins.flexharness.IFlexSessionReversio
49
49
  export type TFlexTurnReversionFinalizedOutcome = plugins.flexharness.TFlexTurnReversionFinalizedOutcome;
50
50
  export type TFlexTurnReversionCaptureInspectionV2 = plugins.flexharness.TFlexTurnReversionCaptureInspectionV2;
51
51
  export type TFlexTurnReversionApplyInspection = plugins.flexharness.IFlexTurnReversionApplyInspection;
52
- export declare const flexIpcProtocolVersion: 39;
52
+ /** A session's identity as its project's metadata holds it, read without loading its history. */
53
+ export type TFlexSessionIdentity = plugins.flexharness.IFlexSessionIdentity;
54
+ /** What one FlexHarness load of a project's sessions took. */
55
+ export type TFlexScopeLoadMetrics = plugins.flexharness.IFlexScopeLoadMetrics;
56
+ export declare const flexIpcProtocolVersion: 40;
53
57
  /**
54
58
  * The installation's own Flex runs, which belong to no project: the configuration projection's adapting run, and
55
59
  * Session Intelligence over a session outside every project.
@@ -74,6 +78,8 @@ export declare const flexIpcMaximumPromptPayloadBytes: number;
74
78
  export declare const flexIpcMaximumPromptQueueEntries = 128;
75
79
  export declare const flexIpcMaximumQueuedSessionChanges = 256;
76
80
  export declare const flexIpcMaximumQueuedSessionChangeBytes: number;
81
+ /** The most sessions one project's `session.identities` answer names; more is refused, never cut. */
82
+ export declare const flexIpcMaximumSessionIdentities = 2048;
77
83
  export declare const flexGenerationLeaseCleanupTimeoutMs = 30000;
78
84
  export declare const flexIpcControlTimeoutMs = 35000;
79
85
  export declare const flexIpcMaximumHostTimeoutMs: number;
@@ -688,10 +694,9 @@ export interface IFlexModelChoice {
688
694
  export interface IFlexJobAdmission {
689
695
  jobId: string;
690
696
  }
691
- export interface IFlexSessionListResult {
692
- sessions: TFlexSession[];
693
- total: number;
694
- truncated: boolean;
697
+ /** Every session of a project, ordered by `sessionId` (UTF-16 code units), in one answer. */
698
+ export interface IFlexSessionIdentitiesResult {
699
+ sessions: TFlexSessionIdentity[];
695
700
  }
696
701
  export type TFlexSlashExecutionResult = plugins.flexharness.IFlexSlashCommandNotCommandResult | plugins.flexharness.IFlexSlashCommandMalformedResult | plugins.flexharness.IFlexSlashCommandUnknownResult | plugins.flexharness.IFlexSlashCommandOperationResult | plugins.flexharness.IFlexSlashCommandHandlerResult | {
697
702
  type: 'prompt-admission';
@@ -773,13 +778,16 @@ export interface IFlexRequestMap {
773
778
  request: IFlexConfigurationAdaptationRequest;
774
779
  response: IFlexConfigurationAdaptationResult;
775
780
  };
776
- 'session.list': {
781
+ /**
782
+ * The identities of a project's sessions, from its metadata: never waits for a load of their
783
+ * histories, so the controller's identity reconciliation after `project.register` stays within
784
+ * its control budget however long the project's history is (AGL-1713).
785
+ */
786
+ 'session.identities': {
777
787
  request: {
778
788
  scopeId: string;
779
- offset?: number;
780
- limit?: number;
781
789
  };
782
- response: IFlexSessionListResult;
790
+ response: IFlexSessionIdentitiesResult;
783
791
  };
784
792
  'session.create': {
785
793
  request: {