@app-vitals/agent-lib 1.84.2 → 1.85.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.
Files changed (2) hide show
  1. package/admin-types.ts +19 -0
  2. package/package.json +1 -1
package/admin-types.ts CHANGED
@@ -6093,6 +6093,7 @@ export interface components {
6093
6093
  skippedOrgs?: {
6094
6094
  org: string;
6095
6095
  reason: string;
6096
+ detail?: components["schemas"]["GithubSyncOrgSkipDetail"];
6096
6097
  }[];
6097
6098
  /** @description The agent's open tasks and PRs on the removed repos that the removals would block; empty when no open-work port is wired. */
6098
6099
  openWork?: {
@@ -6102,6 +6103,23 @@ export interface components {
6102
6103
  }[];
6103
6104
  warnings?: string[];
6104
6105
  };
6106
+ /** @description Why the org was skipped, for cached data: whether the lookup snapshot was found, each crawl's completedAt/lastError/rateLimitResetAt, repo and access-row counts, and the oldest-checked time when stale. */
6107
+ GithubSyncOrgSkipDetail: {
6108
+ lookupSnapshotFound?: boolean;
6109
+ crawls?: {
6110
+ completedAt: string | null;
6111
+ lastError?: string | null;
6112
+ rateLimitResetAt?: string | null;
6113
+ }[];
6114
+ totalRepos?: number;
6115
+ reposWithOkAccess?: number;
6116
+ reposMissingAnswer?: number;
6117
+ errorRows?: number;
6118
+ terminalRows?: number;
6119
+ maxAttempts?: number;
6120
+ rowErrors?: string[];
6121
+ oldestCheckedAt?: string;
6122
+ };
6105
6123
  GithubSyncApplyResult: {
6106
6124
  /** @enum {string} */
6107
6125
  status: "applied" | "noop" | "skipped";
@@ -6118,6 +6136,7 @@ export interface components {
6118
6136
  skippedOrgs?: {
6119
6137
  org: string;
6120
6138
  reason: string;
6139
+ detail?: components["schemas"]["GithubSyncOrgSkipDetail"];
6121
6140
  }[];
6122
6141
  warnings?: string[];
6123
6142
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@app-vitals/agent-lib",
3
- "version": "1.84.2",
3
+ "version": "1.85.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/app-vitals/agent.git",