@miradorlabs/web-grpc 3.36.0 → 3.36.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miradorlabs/web-grpc",
3
- "version": "3.36.0",
3
+ "version": "3.36.1",
4
4
  "description": "Generated gRPC (grpc-js) client stubs for the Mirador web gateway.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -2120,6 +2120,7 @@ export interface AIFileRow {
2120
2120
  lastPushedAt: Date | undefined;
2121
2121
  discardedAt: Date | undefined;
2122
2122
  discardReason: string;
2123
+ /** The kept checkout copies' stored edit counts summed; 4294967295 means at least that many. */
2123
2124
  editCount: number;
2124
2125
  /** unique, sorted by (source_system, session_id) */
2125
2126
  sessions: AISessionRef[];
@@ -2197,8 +2198,10 @@ export interface FileTiers {
2197
2198
  }
2198
2199
 
2199
2200
  export interface FileTierBucket {
2201
+ /** distinct (repository_key, ref, path) with a copy in the bucket */
2200
2202
  files: number;
2201
2203
  branches: number;
2204
+ /** distinct (source_system, session_id) across the bucket's copies */
2202
2205
  sessions: number;
2203
2206
  costUsd: number;
2204
2207
  outputTokens: number;
@@ -22738,8 +22741,8 @@ export interface AIGatewayService {
22738
22741
  StreamProjectSummaries(request: ProjectSummariesRequest, metadata?: Metadata): Observable<ProjectSummaries>;
22739
22742
  /**
22740
22743
  * Per-file working-state feed (keyset-paginated) behind the unlanded-work funnel: one row per
22741
- * (repository_key, ref, path) the AI edited (with filter.sessions or filter.paths, one they name), its
22742
- * most-edited checkout copy among those the filter keeps. Mirrors telemetry.api.v1.
22744
+ * (repository_key, ref, path) the AI edited (with filter.sessions or filter.paths, one they name): its kept
22745
+ * checkout copies' edits, costs and tokens added up, its state from the most-edited copy. Mirrors telemetry.api.v1.
22743
22746
  */
22744
22747
  ListFiles(request: ListFilesRequest, metadata?: Metadata): Promise<ListFilesResponse>;
22745
22748
  /**
@@ -22749,7 +22752,8 @@ export interface AIGatewayService {
22749
22752
  ListFileDirectories(request: ListFileDirectoriesRequest, metadata?: Metadata): Promise<ListFileDirectoriesResponse>;
22750
22753
  /**
22751
22754
  * Live stream of the unlanded-work funnel: aging tiers + discarded (git-invisible churn), a complete
22752
- * snapshot re-derived each tick. Counts every checkout copy, edited or not.
22755
+ * snapshot re-derived each tick. Every checkout copy, edited or not, lands in its own bucket; files and
22756
+ * sessions are distinct counts, so they do not add up across buckets or groups. Mirrors telemetry.api.v1.
22753
22757
  */
22754
22758
  StreamFilesSummary(request: FilesSummaryRequest, metadata?: Metadata): Observable<FilesSummary>;
22755
22759
  /** Latest observed list price per catalog listing from the global catalog, under stored names. */
@@ -828,8 +828,8 @@ streamProjectSummaries: {
828
828
  responseDeserialize: deserialize_gateway_web_v1_ProjectSummaries,
829
829
  },
830
830
  // Per-file working-state feed (keyset-paginated) behind the unlanded-work funnel: one row per
831
- // (repository_key, ref, path) the AI edited (with filter.sessions or filter.paths, one they name), its
832
- // most-edited checkout copy among those the filter keeps. Mirrors telemetry.api.v1.
831
+ // (repository_key, ref, path) the AI edited (with filter.sessions or filter.paths, one they name): its kept
832
+ // checkout copies' edits, costs and tokens added up, its state from the most-edited copy. Mirrors telemetry.api.v1.
833
833
  listFiles: {
834
834
  path: '/gateway.web.v1.AIGatewayService/ListFiles',
835
835
  requestStream: false,
@@ -855,7 +855,8 @@ listFileDirectories: {
855
855
  responseDeserialize: deserialize_gateway_web_v1_ListFileDirectoriesResponse,
856
856
  },
857
857
  // Live stream of the unlanded-work funnel: aging tiers + discarded (git-invisible churn), a complete
858
- // snapshot re-derived each tick. Counts every checkout copy, edited or not.
858
+ // snapshot re-derived each tick. Every checkout copy, edited or not, lands in its own bucket; files and
859
+ // sessions are distinct counts, so they do not add up across buckets or groups. Mirrors telemetry.api.v1.
859
860
  streamFilesSummary: {
860
861
  path: '/gateway.web.v1.AIGatewayService/StreamFilesSummary',
861
862
  requestStream: false,