@app-vitals/agent-lib 0.4.0 → 0.5.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/admin-types.ts +25 -0
- package/package.json +1 -1
package/admin-types.ts
CHANGED
|
@@ -4143,6 +4143,8 @@ export interface components {
|
|
|
4143
4143
|
*/
|
|
4144
4144
|
reportedAt: string;
|
|
4145
4145
|
installations: components["schemas"]["GitHubInstallation"][];
|
|
4146
|
+
/** @description Latest per-repo access probe result; null until a runtime with the repo-access check enabled reports one. */
|
|
4147
|
+
repoAccess: components["schemas"]["RepoAccessEntry"][] | null;
|
|
4146
4148
|
/**
|
|
4147
4149
|
* Format: date-time
|
|
4148
4150
|
* @example 2026-01-01T00:00:00.000Z
|
|
@@ -4162,6 +4164,27 @@ export interface components {
|
|
|
4162
4164
|
*/
|
|
4163
4165
|
lastError?: string | null;
|
|
4164
4166
|
};
|
|
4167
|
+
RepoAccessEntry: {
|
|
4168
|
+
/** @example agent */
|
|
4169
|
+
repo: string;
|
|
4170
|
+
/** @example app-vitals */
|
|
4171
|
+
owner: string;
|
|
4172
|
+
/** @example true */
|
|
4173
|
+
read: boolean;
|
|
4174
|
+
/** @example false */
|
|
4175
|
+
write: boolean;
|
|
4176
|
+
/**
|
|
4177
|
+
* Format: date-time
|
|
4178
|
+
* @example 2026-01-01T00:00:00.000Z
|
|
4179
|
+
*/
|
|
4180
|
+
checkedAt: string;
|
|
4181
|
+
/**
|
|
4182
|
+
* @description Why the probe could not read the repo; absent when the probe succeeded.
|
|
4183
|
+
* @example not_found
|
|
4184
|
+
* @enum {string}
|
|
4185
|
+
*/
|
|
4186
|
+
error?: "not_found" | "forbidden" | "rate_limited" | "network";
|
|
4187
|
+
};
|
|
4165
4188
|
PutGitHubInstallationsBody: {
|
|
4166
4189
|
/**
|
|
4167
4190
|
* Format: date-time
|
|
@@ -4169,6 +4192,8 @@ export interface components {
|
|
|
4169
4192
|
*/
|
|
4170
4193
|
reportedAt: string;
|
|
4171
4194
|
installations: components["schemas"]["GitHubInstallation"][];
|
|
4195
|
+
/** @description Per-repo access probe result (COS-44.1). Omit to leave the stored result unchanged; send [] to clear it. */
|
|
4196
|
+
repos?: components["schemas"]["RepoAccessEntry"][];
|
|
4172
4197
|
};
|
|
4173
4198
|
AgentConfigResponse: {
|
|
4174
4199
|
/**
|